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
2f7479b5
Commit
2f7479b5
authored
Apr 26, 2013
by
Joni Chandra
Browse files
Update the wrong variable used in rb20 function. Fixes #1762
Signed-off-by:
Joni Chandra
<
joniliciously@gmail.com
>
parent
b6ea8769
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/rvm/rvm.plugin.zsh
View file @
2f7479b5
...
@@ -31,7 +31,7 @@ compdef _rb19 rb19
...
@@ -31,7 +31,7 @@ compdef _rb19 rb19
function
rb20
{
function
rb20
{
if
[
-z
"
$1
"
]
;
then
if
[
-z
"
$1
"
]
;
then
rvm use
"
$ruby
"
rvm use
"
$ruby
20
"
else
else
rvm use
"
$ruby20
@
$1
"
rvm use
"
$ruby20
@
$1
"
fi
fi
...
...
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