Changed rvm_prompt_info to read rvm path from environment to support multi-user installs

This commit is contained in:
Thomas Anderson 2011-11-07 13:17:22 -08:00
commit c76abbc388

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_bin_path/rvm-prompt 2> /dev/null) || return
echo "($ruby_version)"
}