diff options
author | Adam Lindberg <eproxus@gmail.com> | 2011-06-07 15:31:26 +0200 |
---|---|---|
committer | Adam Lindberg <eproxus@gmail.com> | 2011-06-07 15:31:26 +0200 |
commit | 86b8827d27a72471eed0e39f3681b4d533811082 (patch) | |
tree | cdd5b236aa57f0402e147c11fcc1bc8d3b136fe0 /themes/sunaku.zsh-theme | |
parent | 70cb607b7bee04ceef74d6f7aa80589e009e4c78 (diff) | |
parent | ed990f61ff66a5c409ef2d8a444820cecf098188 (diff) | |
download | zsh-86b8827d27a72471eed0e39f3681b4d533811082.tar.gz zsh-86b8827d27a72471eed0e39f3681b4d533811082.tar.bz2 zsh-86b8827d27a72471eed0e39f3681b4d533811082.zip |
Merge remote-tracking branch 'robbyrussell/master'
Diffstat (limited to 'themes/sunaku.zsh-theme')
-rw-r--r-- | themes/sunaku.zsh-theme | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/themes/sunaku.zsh-theme b/themes/sunaku.zsh-theme new file mode 100644 index 000000000..440fa90b4 --- /dev/null +++ b/themes/sunaku.zsh-theme @@ -0,0 +1,26 @@ +# Git-centric variation of the "fishy" theme. +# See screenshot at http://ompldr.org/vOHcwZg + +ZSH_THEME_GIT_PROMPT_ADDED="%{$fg[green]%}+" +ZSH_THEME_GIT_PROMPT_MODIFIED="%{$fg[magenta]%}!" +ZSH_THEME_GIT_PROMPT_DELETED="%{$fg[red]%}-" +ZSH_THEME_GIT_PROMPT_RENAMED="%{$fg[blue]%}>" +ZSH_THEME_GIT_PROMPT_UNMERGED="%{$fg[cyan]%}#" +ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[yellow]%}?" + +ZSH_THEME_GIT_PROMPT_PREFIX="" +ZSH_THEME_GIT_PROMPT_SUFFIX=" " +ZSH_THEME_GIT_PROMPT_DIRTY="" +ZSH_THEME_GIT_PROMPT_CLEAN="" + +local user_color='green' +test $UID -eq 0 && user_color='red' + +PROMPT='%(?..%{$fg_bold[red]%}exit %? +%{$reset_color%})'\ +'%{$bold_color%}$(git_prompt_status)%{$reset_color%}'\ +'$(git_prompt_info)'\ +'%{$fg[$user_color]%}%~%{$reset_color%}'\ +'%(!.#.>) ' + +PROMPT2='%{$fg[red]%}\ %{$reset_color%}' |