ohmyzsh/lib/rvm.zsh
SimonGreenhill 8b572a010d Revert "merge"
This reverts commit 5e8734bfd6, reversing
changes made to 7a41498b0d.
2012-01-14 23:06:08 +13:00

7 lines
160 B
Bash

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