summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorBen Lumley <ben@benlumley.co.uk>2011-08-16 17:23:33 +0100
committerBen Lumley <ben@benlumley.co.uk>2011-08-16 17:23:33 +0100
commitbf2c55ac5a789d8874e6d8e06360608b4234e872 (patch)
tree1687382c3ee83827b2434d67bfa3be021cdda0c2 /themes
parent9f46eafae0bed7df50a0004fca5d25539425ff85 (diff)
downloadzsh-bf2c55ac5a789d8874e6d8e06360608b4234e872.tar.gz
zsh-bf2c55ac5a789d8874e6d8e06360608b4234e872.tar.bz2
zsh-bf2c55ac5a789d8874e6d8e06360608b4234e872.zip
Gallois theme - made the git branch/status show for those of us without rvm
Diffstat (limited to 'themes')
-rw-r--r--themes/gallois.zsh-theme2
1 files changed, 2 insertions, 0 deletions
diff --git a/themes/gallois.zsh-theme b/themes/gallois.zsh-theme
index 259640ba4..f9406dd96 100644
--- a/themes/gallois.zsh-theme
+++ b/themes/gallois.zsh-theme
@@ -14,6 +14,8 @@ git_custom_status() {
#RVM and git settings
if [[ -s ~/.rvm/scripts/rvm ]] ; then
RPS1='$(git_custom_status)%{$fg[red]%}[`~/.rvm/bin/rvm-prompt`]%{$reset_color%} $EPS1'
+else
+ RPS1='$(git_custom_status) $EPS1'
fi
PROMPT='%{$fg[cyan]%}[%~% ]%(?.%{$fg[green]%}.%{$fg[red]%})%B$%b '