c1b5d72830629c737f40abebf87fcca797bf730c
- Author
- Suraj N. Kurapati <sunaku@gmail.com>
- Committer
- Suraj N. Kurapati <sunaku@gmail.com>
- Date
Message
add "sunaku" theme, see http://ompldr.org/vOHcwZg
Diff
1diff --git a/themes/sunaku.zsh-theme b/themes/sunaku.zsh-theme
2new file mode 100644
3index 0000000000000000000000000000000000000000..440fa90b4ce40ad057226bd2e0ef5f25025fee0d
4--- /dev/null
5+++ b/themes/sunaku.zsh-theme
6@@ -0,0 +1,26 @@
7+# Git-centric variation of the "fishy" theme.
8+# See screenshot at http://ompldr.org/vOHcwZg
9+
10+ZSH_THEME_GIT_PROMPT_ADDED="%{$fg[green]%}+"
11+ZSH_THEME_GIT_PROMPT_MODIFIED="%{$fg[magenta]%}!"
12+ZSH_THEME_GIT_PROMPT_DELETED="%{$fg[red]%}-"
13+ZSH_THEME_GIT_PROMPT_RENAMED="%{$fg[blue]%}>"
14+ZSH_THEME_GIT_PROMPT_UNMERGED="%{$fg[cyan]%}#"
15+ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[yellow]%}?"
16+
17+ZSH_THEME_GIT_PROMPT_PREFIX=""
18+ZSH_THEME_GIT_PROMPT_SUFFIX=" "
19+ZSH_THEME_GIT_PROMPT_DIRTY=""
20+ZSH_THEME_GIT_PROMPT_CLEAN=""
21+
22+local user_color='green'
23+test $UID -eq 0 && user_color='red'
24+
25+PROMPT='%(?..%{$fg_bold[red]%}exit %?
26+%{$reset_color%})'\
27+'%{$bold_color%}$(git_prompt_status)%{$reset_color%}'\
28+'$(git_prompt_info)'\
29+'%{$fg[$user_color]%}%~%{$reset_color%}'\
30+'%(!.#.>) '
31+
32+PROMPT2='%{$fg[red]%}\ %{$reset_color%}'