add "sunaku" theme, see http://ompldr.org/vOHcwZg
Robby Russell authored on 02/06/2011 at 15:50:331 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,26 @@ |
0 |
+# Git-centric variation of the "fishy" theme. |
|
1 |
+# See screenshot at http://ompldr.org/vOHcwZg |
|
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%}' |