git theme improvement
This commit is contained in:
parent
299cb5965b
commit
d24f690fa2
1 changed files with 3 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
|||
PROMPT='%{${fg_bold[white]}%}%n%{$reset_color%}%{${fg[white]}%}@%m $%{$reset_color%} '
|
||||
RPROMPT='%{$fg[white]%}%~$(git_prompt_info)%{$reset_color%}%(?,,%{${fg_bold[red]}%} [%?]%{$reset_color%})'
|
||||
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg_bold[yellow]%}("
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg_bold[green]%}("
|
||||
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
|
||||
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg_bold[yellow]%})%{$fg_bold[red]%}!%{$reset_color%}"
|
||||
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg_bold[yellow]%})"
|
||||
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg_bold[red]%})%{$fg_bold[red]%}!%{$reset_color%}"
|
||||
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg_bold[green]%})"
|
||||
|
|
|
|||
Loading…
Reference in a new issue