diff --git a/libexec/rbenv-init b/libexec/rbenv-init index 4fb8d2e1..cd327fad 100755 --- a/libexec/rbenv-init +++ b/libexec/rbenv-init @@ -114,7 +114,7 @@ function rbenv switch "\$command" case ${commands[*]} - source (rbenv "sh-\$command" \$argv|psub) + rbenv "sh-\$command" \$argv|source case '*' command rbenv "\$command" \$argv end