Commit 2f7479b5 authored by Joni Chandra's avatar Joni Chandra
Browse files

Update the wrong variable used in rb20 function. Fixes #1762


Signed-off-by: default avatarJoni Chandra <joniliciously@gmail.com>
parent b6ea8769
...@@ -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 "$ruby20"
else else
rvm use "$ruby20@$1" rvm use "$ruby20@$1"
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment