rvm.zsh 186 B

12345
  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. [[ ! -z $ruby_version ]] && echo "($ruby_version)"
  5. }