1 # Git-centric variation of the "fishy" theme.
2 # See screenshot at http://ompldr.org/vOHcwZg
4 ZSH_THEME_GIT_PROMPT_ADDED="%{$fg[green]%}+"
5 ZSH_THEME_GIT_PROMPT_MODIFIED="%{$fg[magenta]%}!"
6 ZSH_THEME_GIT_PROMPT_DELETED="%{$fg[red]%}-"
7 ZSH_THEME_GIT_PROMPT_RENAMED="%{$fg[blue]%}>"
8 ZSH_THEME_GIT_PROMPT_UNMERGED="%{$fg[cyan]%}#"
9 ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[yellow]%}?"
11 ZSH_THEME_GIT_PROMPT_PREFIX=""
12 ZSH_THEME_GIT_PROMPT_SUFFIX=" "
13 ZSH_THEME_GIT_PROMPT_DIRTY=""
14 ZSH_THEME_GIT_PROMPT_CLEAN=""
16 local user_color='green'
17 test $UID -eq 0 && user_color='red'
19 PROMPT='%(?..%{$fg_bold[red]%}exit %?
21 '%{$bold_color%}$(git_prompt_status)%{$reset_color%}'\
23 '%{$fg[$user_color]%}%~%{$reset_color%}'\
26 PROMPT2='%{$fg[red]%}\ %{$reset_color%}'