mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-09-17 16:00:19 +00:00
Don't overwrite context variables
This commit is contained in:
@@ -41,8 +41,11 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
function _cask() {
|
||||
local ret=1 state
|
||||
_arguments \
|
||||
typeset -A opt_args
|
||||
local context state line ret=1
|
||||
local curcontext="$curcontext"
|
||||
|
||||
_arguments -C \
|
||||
':subcommand:->subcommand' \
|
||||
'*:: :->subcmds' && ret=0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user