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:
931aba4
)
fix bug where "no active gemsets" displayed to STDERR
author
Marshall Yount
<marshall@yountlabs.com>
Thu, 16 Jan 2014 18:04:47 +0000
(12:04 -0600)
committer
Marshall Yount
<marshall@yountlabs.com>
Thu, 16 Jan 2014 18:04:47 +0000
(12:04 -0600)
themes/base.theme.bash
patch
|
blob
|
history
diff --git
a/themes/base.theme.bash
b/themes/base.theme.bash
index
9c5bedb
..
a956ef9
100644
(file)
--- a/
themes/base.theme.bash
+++ b/
themes/base.theme.bash
@@
-132,7
+132,7
@@
function rvm_version_prompt {
function rbenv_version_prompt {
if which rbenv &> /dev/null; then
rbenv=$(rbenv version-name) || return
- $(rbenv commands | grep -q gemset) && gemset=$(rbenv gemset active) && rbenv="$rbenv@${gemset%% *}"
+ $(rbenv commands | grep -q gemset) && gemset=$(rbenv gemset active
2> /dev/null
) && rbenv="$rbenv@${gemset%% *}"
echo -e "$RBENV_THEME_PROMPT_PREFIX$rbenv$RBENV_THEME_PROMPT_SUFFIX"
fi
}