rbenv(): preserve multiline output of sh-* commands

This commit is contained in:
YanhaoYang 2013-02-22 21:41:57 +08:00 committed by Mislav Marohnić
parent e3f72ebae2
commit 13f36e0416

View file

@ -97,7 +97,7 @@ rbenv() {
case "\$command" in
${commands[*]})
eval \`rbenv "sh-\$command" "\$@"\`;;
eval "\`rbenv "sh-\$command" "\$@"\`";;
*)
command rbenv "\$command" "\$@";;
esac