Browse code

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

Ben Lumley authored on 16/08/2011 at 16:23:33
Showing 1 changed files
... ...
@@ -14,6 +14,8 @@ git_custom_status() {
14 14
 #RVM and git settings
15 15
 if [[ -s ~/.rvm/scripts/rvm ]] ; then 
16 16
   RPS1='$(git_custom_status)%{$fg[red]%}[`~/.rvm/bin/rvm-prompt`]%{$reset_color%} $EPS1'
17
+else
18
+  RPS1='$(git_custom_status) $EPS1'
17 19
 fi
18 20
 
19 21
 PROMPT='%{$fg[cyan]%}[%~% ]%(?.%{$fg[green]%}.%{$fg[red]%})%B$%b '