Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
3f245edf
Commit
3f245edf
authored
May 23, 2020
by
Marc Cornellà
Browse files
rbenv: fix redirect in current_gemset
Fixes #8925 Related #4688
parent
7c9c148e
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/rbenv/rbenv.plugin.zsh
View file @
3f245edf
...
...
@@ -34,7 +34,7 @@ if [[ $FOUND_RBENV -eq 1 ]]; then
}
function
current_gemset
()
{
echo
"
$(
rbenv gemset active 2
&
>/dev/null |
sed
-e
":a"
-e
'$ s/\n/+/gp;N;b a'
|
head
-n1
)
"
echo
"
$(
rbenv gemset active 2>/dev/null |
sed
-e
":a"
-e
'$ s/\n/+/gp;N;b a'
|
head
-n1
)
"
}
function
gems
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment