Browse Source

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

Ben Lumley 13 years ago
parent
commit
bf2c55ac5a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      themes/gallois.zsh-theme

+ 2 - 0
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 '