rvm.zsh 160 B

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