fix(cli): execute as expected if ksh_arrays is set (#11629)

This commit is contained in:
Erin Schlarb 2023-04-20 13:32:32 +02:00 committed by GitHub
parent 18c837b136
commit 5b11e70a96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ function omz {
# Subcommand functions start with _ so that they don't # Subcommand functions start with _ so that they don't
# appear as completion entries when looking for `omz` # appear as completion entries when looking for `omz`
(( $+functions[_omz::$command] )) || { (( ${+functions[_omz::$command]} )) || {
_omz::help _omz::help
return 1 return 1
} }