This commit is contained in:
Yura Taras 2017-05-10 05:40:58 +00:00 committed by GitHub
commit 1d42990c2f

View file

@ -12,7 +12,7 @@ fi
local current_dir='%{$terminfo[bold]$fg[blue]%}%~%{$reset_color%}'
local rvm_ruby=''
if which rvm-prompt &> /dev/null; then
if [[ -s ~/.rvm/scripts/rvm ]] ; then
rvm_ruby='%{$fg[red]%}$(rvm-prompt i v g)%{$reset_color%}'
else
if which rbenv &> /dev/null; then