diff options
author | Barton E. Schaefer <schaefer@zsh.org> | 2015-08-16 22:29:01 -0700 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2015-08-16 22:29:01 -0700 |
commit | a190d68d8c9bbd93f8bf790ffc7baead973294ab (patch) | |
tree | 9d70d18ccd493cc1045c0097e1d978970cb09291 /Completion/Zsh/Command | |
parent | 795e6eb9b3a245e1cf5d173dd9d0b9c2b9bd2078 (diff) | |
parent | a62e96822489d7af35e1463a4de1e82ad823ba84 (diff) | |
download | zsh-a190d68d8c9bbd93f8bf790ffc7baead973294ab.tar.gz zsh-a190d68d8c9bbd93f8bf790ffc7baead973294ab.tar.xz zsh-a190d68d8c9bbd93f8bf790ffc7baead973294ab.zip |
Merge branch 'master' of git://git.code.sf.net/p/zsh/code
Diffstat (limited to 'Completion/Zsh/Command')
-rw-r--r-- | Completion/Zsh/Command/_setopt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Completion/Zsh/Command/_setopt b/Completion/Zsh/Command/_setopt index fb38d1da6..86c0965f9 100644 --- a/Completion/Zsh/Command/_setopt +++ b/Completion/Zsh/Command/_setopt @@ -2,8 +2,9 @@ local expl ret=1 local -a onopts offopts -onopts=( ${(k)_comp_caller_options[(R)on]} ) -offopts=( ${(k)_comp_caller_options[(R)off]} ) +onopts=( ${(k)_comp_caller_options[(R)on]} printexitvalue ) +offopts=( ${(k)_comp_caller_options[(R)off]} printexitvalue ) +typeset -U onopts offopts case $service in setopt) onopts=(no$onopts) ;; unsetopt) offopts=(no$offopts) ;; |