bf2c55ac5a789d8874e6d8e06360608b4234e872

Author
Ben Lumley <ben@benlumley.co.uk>
Committer
Ben Lumley <ben@benlumley.co.uk>
Date

Message

Gallois theme - made the git branch/status show for those of us without rvm

Diff

 1diff --git a/themes/gallois.zsh-theme b/themes/gallois.zsh-theme
 2index 259640ba40cdee547cc8826126dae6f9e4a9d748..f9406dd966d1132f556ad3cb120b4a542cdd88d8 100644
 3--- a/themes/gallois.zsh-theme
 4+++ b/themes/gallois.zsh-theme
 5@@ -14,6 +14,8 @@ git_custom_status() {
 6 #RVM and git settings
 7 if [[ -s ~/.rvm/scripts/rvm ]] ; then 
 8   RPS1='$(git_custom_status)%{$fg[red]%}[`~/.rvm/bin/rvm-prompt`]%{$reset_color%} $EPS1'
 9+else
10+  RPS1='$(git_custom_status) $EPS1'
11 fi
12 
13 PROMPT='%{$fg[cyan]%}[%~% ]%(?.%{$fg[green]%}.%{$fg[red]%})%B$%b '