Update the wrong variable used in rb20 function. Fixes #1762
Signed-off-by: Joni Chandra <joniliciously@gmail.com>
This commit is contained in:
parent
b6ea876971
commit
2f7479b5cb
|
@ -31,7 +31,7 @@ compdef _rb19 rb19
|
|||
|
||||
function rb20 {
|
||||
if [ -z "$1" ]; then
|
||||
rvm use "$ruby"
|
||||
rvm use "$ruby20"
|
||||
else
|
||||
rvm use "$ruby20@$1"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue