Fix eval'ing multiline sh-* command output with fish

This commit is contained in:
Mislav Marohnić 2015-10-10 21:48:40 +02:00
parent 51a1ee06e4
commit c101052a7f

View file

@ -102,7 +102,7 @@ function rbenv
switch "\$command"
case ${commands[*]}
eval (rbenv "sh-\$command" \$argv)
. (rbenv "sh-\$command" \$argv|psub)
case '*'
command rbenv "\$command" \$argv
end