Code Review
/
common
/
bash_it.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
6044d3a
)
Show rbenv active ruby rather than system ruby
author
Daniel Leavitt
<daniel.leavitt@gmail.com>
Wed, 25 Apr 2012 06:08:40 +0000
(23:08 -0700)
committer
Daniel Leavitt
<daniel.leavitt@gmail.com>
Wed, 25 Apr 2012 06:08:40 +0000
(23:08 -0700)
themes/base.theme.bash
patch
|
blob
|
history
diff --git
a/themes/base.theme.bash
b/themes/base.theme.bash
index
fe112ec
..
15bd4aa
100644
(file)
--- a/
themes/base.theme.bash
+++ b/
themes/base.theme.bash
@@
-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
}