Skip to content

Commit

Permalink
fix: cotopic func missing flags current state
Browse files Browse the repository at this point in the history
  • Loading branch information
cristiand391 committed Jan 27, 2023
1 parent c31e3c9 commit 18cd38d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/autocomplete/zsh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ _${this.config.bin}
local context state state_descr line
typeset -A opt_args
_arguments -C "1: :->cmds" "*::arg:->args"
_arguments -C "1: :->cmds" "*: :->args"
case "$state" in
cmds)
Expand Down
2 changes: 1 addition & 1 deletion test/autocomplete/zsh.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ _test-cli_deploy() {
local context state state_descr line
typeset -A opt_args
_arguments -C "1: :->cmds" "*::arg:->args"
_arguments -C "1: :->cmds" "*: :->args"
case "$state" in
cmds)
Expand Down

0 comments on commit 18cd38d

Please sign in to comment.