Fix rvm prompt issue introduced @6496acf58b

This commit is contained in:
Jeff Dutil 2012-02-22 12:06:24 -05:00
commit c4ac5c6b53
11 changed files with 11 additions and 11 deletions

View file

@ -2,7 +2,7 @@
local user='%{$fg[magenta]%}%n@%{$fg[magenta]%}%m%{$reset_color%}'
local pwd='%{$fg[blue]%}%~%{$reset_color%}'
local rvm=''
if which rvm-prompt &> /dev/null; then
if [ -e ~/.rvm/bin/rvm-prompt ]; then
rvm='%{$fg[green]%}$(rvm-prompt i v g)%{$reset_color%}'
else
if which rbenv &> /dev/null; then