From b48d3e6a0c7792badaba210111f41920bc8803f5 Mon Sep 17 00:00:00 2001 From: Christopher Sexton Date: Wed, 2 Mar 2011 10:27:41 -0500 Subject: [PATCH] Updated risto theme Makes sure the user knows it needs the svn plugin Improves colors for different git states --- themes/risto.zsh-theme | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/themes/risto.zsh-theme b/themes/risto.zsh-theme index cb773a64e..dc94acd7c 100644 --- a/themes/risto.zsh-theme +++ b/themes/risto.zsh-theme @@ -1,6 +1,15 @@ -# -*- sh -*- vim:set ft=sh ai et sw=4 sts=4: -# It might be bash like, but I can't have my co-workers knowing I use zsh -PROMPT='%{$fg[green]%}%n@%m:%{$fg_bold[blue]%}%2~ $(git_prompt_info)%{$reset_color%}%(!.#.$) ' +# Risto Theme +# +# Requires the svn plugin +# +PROMPT='%{$fg[green]%}%n@%m:%{$fg[blue]%}%2~ $(svn_prompt_info)$(git_prompt_info)%{$reset_color%}%(!.#.%%) ' +RPROMPT='%{$fg_bold[red]%}$(rvm-prompt)%{$reset_color%}%' ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[red]%}‹" -ZSH_THEME_GIT_PROMPT_SUFFIX="›%{$reset_color%}" +ZSH_THEME_GIT_PROMPT_SUFFIX="%{$fg[red]%}›%{$reset_color%}" +ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[green]%}✓" +ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[yellow]%}∗" +ZSH_THEME_GIT_PROMPT_CLEAN="" +ZSH_THEME_SVN_PROMPT_PREFIX="%{$fg[red]%}‹" +ZSH_THEME_SVN_PROMPT_SUFFIX="›%{$reset_color%}" +