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

Signed-off-by: Joni Chandra <joniliciously@gmail.com>
This commit is contained in:
Joni Chandra 2013-04-26 11:31:02 +07:00
parent b6ea876971
commit 2f7479b5cb

View file

@ -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