标签:color ef res ca rom ld br git it
local ret_status="%(?:%{$fg_bold[green]%}? :%{$fg_bold[red]%}? %s)"
PROMPT=‘%(!.%{$fg_bold[blue]%}.%{$fg_bold[green]%}%n@)%m %{$fg_bold[cyan]%}%(!.%1~.%~) $(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}‘
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[blue]%}git:(%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}?%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"
标签:color ef res ca rom ld br git it
原文地址:http://www.cnblogs.com/yumtaoist/p/4115263.html