Adding red/green color to 'git status'-indicator
This commit is contained in:
parent
c4582777fc
commit
ab652762e6
@ -2,5 +2,5 @@ PROMPT='%{$fg[green]%}%~%{$fg_bold[blue]%}$(git_prompt_info)%{$reset_color%} '
|
|||||||
|
|
||||||
ZSH_THEME_GIT_PROMPT_PREFIX="("
|
ZSH_THEME_GIT_PROMPT_PREFIX="("
|
||||||
ZSH_THEME_GIT_PROMPT_SUFFIX=")"
|
ZSH_THEME_GIT_PROMPT_SUFFIX=")"
|
||||||
ZSH_THEME_GIT_PROMPT_DIRTY=" ✗"
|
ZSH_THEME_GIT_PROMPT_DIRTY=" $fg[red]✗"
|
||||||
ZSH_THEME_GIT_PROMPT_CLEAN=" ✔"
|
ZSH_THEME_GIT_PROMPT_CLEAN=" $fg[green]✔"
|
||||||
|
Loading…
Reference in New Issue
Block a user