fix(completion): correct zsh pattern matching for global flag (#2594)

This commit is contained in:
Valentin Maerten
2025-12-19 19:48:59 +01:00
committed by GitHub
parent fc378cfb92
commit 3626b271a7

View File

@@ -34,7 +34,7 @@ function __task_list() {
fi
# Check if global flag is set
if (( ${+opt_args[(i)-g|--global]} )); then
if (( ${+opt_args[-g]} || ${+opt_args[--global]} )); then
cmd+=(--global)
fi