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
1 changed files with 1 additions and 1 deletions

View File

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