Show rbenv active ruby rather than system ruby

pull/113/head
Daniel Leavitt 2012-04-24 23:08:40 -07:00
parent 6044d3abbe
commit 5659a73445
1 changed files with 1 additions and 1 deletions

View File

@ -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
}