mirror of
https://github.com/go-task/task.git
synced 2025-12-24 23:49:24 +01:00
fix(completion): correct zsh pattern matching for global flag (#2594)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user