mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Changed rvm_prompt_info to read rvm path from environment to support multi-user installs
This commit is contained in:
parent
757fa3314d
commit
c76abbc388
1 changed files with 1 additions and 1 deletions
|
|
@ -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)"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue