1
0
Fork 0

cleaner root prompt

This commit is contained in:
Maurice Audin 2020-04-29 14:41:17 +02:00
parent bcab24d2c3
commit eed9f16fad

View file

@ -1,4 +1,4 @@
PROMPT='%{${fg_bold[red]}%}%n%{$reset_color%}%{${fg[white]}%}@%m $%{$reset_color%} ' PROMPT='%U%{${fg_bold[white]}%}%n%{$reset_color%}%u%{${fg[white]}%}@%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]%}("