Browse Source

Fix jenv init so sh-* commands are correctly evaluated

Ensures sh-* commands which return result in more than one command have
all evaluated.
pull/393/head
andrewflbarnes 3 years ago
parent
commit
cf443cf7a8
  1. 2
      libexec/jenv-init

2
libexec/jenv-init

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

Loading…
Cancel
Save