diff options
| author | Oliver Kiddle <opk@zsh.org> | 2014-10-21 20:53:51 +0200 |
|---|---|---|
| committer | Oliver Kiddle <opk@zsh.org> | 2014-10-21 20:53:51 +0200 |
| commit | 5e592fd9b0d0d5a0532ffa57667b3f5e7c09fa92 (patch) | |
| tree | 2af5203a95aac5a327f8cd7fd9e9a4e1f207192a /Completion/Darwin/Command/_defaults | |
| parent | 33481: resolve completion clashes and tidy-up SUSE/Mandriva related functions (diff) | |
| download | zsh-5e592fd9b0d0d5a0532ffa57667b3f5e7c09fa92.tar zsh-5e592fd9b0d0d5a0532ffa57667b3f5e7c09fa92.tar.gz zsh-5e592fd9b0d0d5a0532ffa57667b3f5e7c09fa92.tar.bz2 zsh-5e592fd9b0d0d5a0532ffa57667b3f5e7c09fa92.tar.lz zsh-5e592fd9b0d0d5a0532ffa57667b3f5e7c09fa92.tar.xz zsh-5e592fd9b0d0d5a0532ffa57667b3f5e7c09fa92.tar.zst zsh-5e592fd9b0d0d5a0532ffa57667b3f5e7c09fa92.zip | |
33485: fixes for zstyle context handling
Diffstat (limited to 'Completion/Darwin/Command/_defaults')
| -rw-r--r-- | Completion/Darwin/Command/_defaults | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Completion/Darwin/Command/_defaults b/Completion/Darwin/Command/_defaults index 7818e0379..ca5d87e65 100644 --- a/Completion/Darwin/Command/_defaults +++ b/Completion/Darwin/Command/_defaults @@ -25,8 +25,9 @@ _defaults(){ _1st_arguments=( read read-type write rename delete domains find help ) local curcontext="$curcontext" state line expl + typeset -A opt_args - _arguments -A '-*' \ + _arguments -C -A '-*' \ '(-currentHost)-host:host:_hosts' \ '(-host)-currentHost' \ '*::command:->subcmd' && return 0 |
