From 986e8cc2b2d45bb7859d34a6b734bfe6c25a9724 Mon Sep 17 00:00:00 2001 From: Sambya AS Date: Wed, 2 Jul 2014 19:34:45 +0530 Subject: [PATCH] Add svn support to miloshadzic --- themes/miloshadzic.zsh-theme | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/themes/miloshadzic.zsh-theme b/themes/miloshadzic.zsh-theme index ad539442..db6ab5e7 100644 --- a/themes/miloshadzic.zsh-theme +++ b/themes/miloshadzic.zsh-theme @@ -1,8 +1,14 @@ # Yay! High voltage and arrows! +# The svn plugin has to be activated for displaying svn prompts -ZSH_THEME_GIT_PROMPT_PREFIX="%{$reset_color%}%{$fg[green]%}" -ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} " -ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}⚡%{$reset_color%}" -ZSH_THEME_GIT_PROMPT_CLEAN="" +ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%}" +ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" +ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}⚡ %{$reset_color%}" +ZSH_THEME_GIT_PROMPT_CLEAN=" " -PROMPT='%{$fg[cyan]%}%1~%{$reset_color%}%{$fg[red]%}|%{$reset_color%}$(git_prompt_info)%{$fg[cyan]%}⇒%{$reset_color%} ' +ZSH_THEME_SVN_PROMPT_PREFIX="%{$fg[green]%}" +ZSH_THEME_SVN_PROMPT_SUFFIX="%{$reset_color%}" +ZSH_THEME_SVN_PROMPT_DIRTY="%{$fg[yellow]%}⚡ %{$reset_color%}" +ZSH_THEME_SVN_PROMPT_CLEAN=" " + +PROMPT='%{$fg[cyan]%}%1~%{$reset_color%}%{$fg[red]%}|%{$reset_color%}$(git_prompt_info)$(svn_prompt_info)%{$fg[cyan]%}⇒%{$reset_color%} '