Browse Source

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

pull/487/head^2
Mislav Marohnić 10 years ago
parent
commit
c101052a7f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libexec/rbenv-init

+ 1
- 1
libexec/rbenv-init View File

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

Loading…
Cancel
Save