This commit is contained in:
GitHub Merge Button 2012-05-31 14:48:51 -07:00
commit 06b36fbb13
2 changed files with 19 additions and 1 deletions

View file

@ -1,7 +1,7 @@
# 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)"
echo "$ZSH_THEME_RVM_PROMPT_PREFIX$ruby_version$ZSH_THEME_RVM_PROMPT_SUFFIX"
}