Adding red/green color to 'git status'-indicator

This commit is contained in:
Mathias Neerup 2016-03-31 14:51:47 +02:00
parent c4582777fc
commit ab652762e6

View File

@ -2,5 +2,5 @@ PROMPT='%{$fg[green]%}%~%{$fg_bold[blue]%}$(git_prompt_info)%{$reset_color%} '
ZSH_THEME_GIT_PROMPT_PREFIX="("
ZSH_THEME_GIT_PROMPT_SUFFIX=")"
ZSH_THEME_GIT_PROMPT_DIRTY=" ✗"
ZSH_THEME_GIT_PROMPT_CLEAN=" ✔"
ZSH_THEME_GIT_PROMPT_DIRTY=" $fg[red]✗"
ZSH_THEME_GIT_PROMPT_CLEAN=" $fg[green]✔"