Permalink
Browse files

Show rbenv active ruby rather than system ruby

  • Loading branch information...
1 parent 6044d3a commit 5659a734456612e15c411693c6d572ce4aa65d7b @dleavitt dleavitt committed Apr 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 themes/base.theme.bash
View
@@ -121,7 +121,7 @@ function rvm_version_prompt {
function rbenv_version_prompt {
if which rbenv &> /dev/null; then
- rbenv=$(rbenv global) || return
+ rbenv=$(rbenv version-name) || return
echo -e "$RBENV_THEME_PROMPT_PREFIX$rbenv$RBENV_THEME_PROMPT_SUFFIX"
fi
}

0 comments on commit 5659a73

Please sign in to comment.