1
0
Fork 0

color prompt for convenience

This commit is contained in:
Maurice Audin 2021-12-07 14:57:34 +01:00
parent e1869e1310
commit 0da51643c5

View file

@ -1,4 +1,4 @@
PROMPT='%{${fg_bold[yellow]}%}%n%{$reset_color%}%{${fg[yellow]}%}@%m $%{$reset_color%} ' PROMPT='%{${fg_bold[green]}%}%n%{$reset_color%}%{${fg[green]}%}@%m $%{$reset_color%} '
RPROMPT='%{$fg[white]%}%~$(git_prompt_info)%{$reset_color%}%(?,,%{${fg_bold[red]}%} [%?]%{$reset_color%})' RPROMPT='%{$fg[white]%}%~$(git_prompt_info)%{$reset_color%}%(?,,%{${fg_bold[red]}%} [%?]%{$reset_color%})'
ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg_bold[green]%}(" ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg_bold[green]%}("