]> src.twobees.de Git - dotfiles.git/blob - stow/oh-my-zsh/.oh-my-zsh/themes/sunaku.zsh-theme
initial
[dotfiles.git] / stow / oh-my-zsh / .oh-my-zsh / themes / sunaku.zsh-theme
1 # Git-centric variation of the "fishy" theme.
2
3 ZSH_THEME_GIT_PROMPT_ADDED="%{$fg[green]%}+"
4 ZSH_THEME_GIT_PROMPT_MODIFIED="%{$fg[magenta]%}!"
5 ZSH_THEME_GIT_PROMPT_DELETED="%{$fg[red]%}-"
6 ZSH_THEME_GIT_PROMPT_RENAMED="%{$fg[blue]%}>"
7 ZSH_THEME_GIT_PROMPT_UNMERGED="%{$fg[cyan]%}#"
8 ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[yellow]%}?"
9
10 ZSH_THEME_GIT_PROMPT_PREFIX=""
11 ZSH_THEME_GIT_PROMPT_SUFFIX=" "
12 ZSH_THEME_GIT_PROMPT_DIRTY=""
13 ZSH_THEME_GIT_PROMPT_CLEAN=""
14
15 local user_color='green'
16 test $UID -eq 0 && user_color='red'
17
18 PROMPT='%(?..%{$fg_bold[red]%}exit %?
19 %{$reset_color%})'\
20 '%{$bold_color%}$(git_prompt_status)%{$reset_color%}'\
21 '$(git_prompt_info)'\
22 '%{$fg[$user_color]%}%~%{$reset_color%}'\
23 '%(!.#.>) '
24
25 PROMPT2='%{$fg[red]%}\ %{$reset_color%}'