diff options
author | Robby Russell <robby@planetargon.com> | 2011-06-02 08:50:33 -0700 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2011-06-02 08:50:33 -0700 |
commit | 141d355e2ec9f0f516bbf07d08eb5f38903f48e8 (patch) | |
tree | 20f353c374380bb09d76f8a25a7e49a8dc79f9ba /themes | |
parent | 3bb21afa88f136c18073808852118dedd7e21fbf (diff) | |
parent | c1b5d72830629c737f40abebf87fcca797bf730c (diff) | |
download | zsh-141d355e2ec9f0f516bbf07d08eb5f38903f48e8.tar.gz zsh-141d355e2ec9f0f516bbf07d08eb5f38903f48e8.tar.bz2 zsh-141d355e2ec9f0f516bbf07d08eb5f38903f48e8.zip |
Merge pull request #385 from sunaku/theme
add "sunaku" theme, see http://ompldr.org/vOHcwZg
Diffstat (limited to 'themes')
-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%}' |