Remove git from prompt

This commit is contained in:
David Holland 2020-01-24 01:40:37 +01:00
parent cd19ed53e4
commit 407856007e
Signed by: DustVoice
GPG key ID: 47068995A14EDCA9

View file

@ -1,7 +1,7 @@
# user, host, full path, and time/date # user, host, full path, and time/date
# on two lines for easier vgrepping # on two lines for easier vgrepping
# entry in a nice long thread on the Arch Linux forums: https://bbs.archlinux.org/viewtopic.php?pid=521888#p521888 # entry in a nice long thread on the Arch Linux forums: https://bbs.archlinux.org/viewtopic.php?pid=521888#p521888
PROMPT=$'%b%{$fg[yellow]%}%n@%{$fg[magenta]%}%M %{$fg[green]%}%~ $(git_prompt_info) PROMPT=$'%b%{$fg[yellow]%}%n@%{$fg[magenta]%}%M %{$fg[green]%}%~
%{$fg_bold[white]%}%(!.#.$)%{$reset_color%} ' %{$fg_bold[white]%}%(!.#.$)%{$reset_color%} '
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[blue]%}" ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[blue]%}"