Update robbyrussell.zsh-theme

This commit is contained in:
YantaoZhao 2017-07-13 17:02:11 +08:00 committed by GitHub
parent 323c19ad21
commit a0d6d91cb9

View File

@ -1,5 +1,6 @@
local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )"
PROMPT='${ret_status} %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)%(!.#.$) '
local user_class="%(!.#.$)"
local ret_status="%(?:%{$fg_bold[green]%}${user_class}:%{$fg_bold[red]%}${user_class})"
PROMPT='%{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)${ret_status}%{$reset_color%} '
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "