prepend /usr/local/rvm to rvm prompt script

This commit is contained in:
Andrea 2011-07-25 15:17:32 +02:00
commit 559bbadba5

View file

@ -1,6 +1,6 @@
# get the name of the branch we are on
function rvm_prompt_info() {
ruby_version=$(~/.rvm/bin/rvm-prompt 2> /dev/null) || return
ruby_version=$($rvm_path/bin/rvm-prompt 2> /dev/null) || return
echo "($ruby_version)"
}