summary refs log tree commit diff
path: root/Completion/Zsh/Command
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2015-08-16 22:29:01 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2015-08-16 22:29:01 -0700
commita190d68d8c9bbd93f8bf790ffc7baead973294ab (patch)
tree9d70d18ccd493cc1045c0097e1d978970cb09291 /Completion/Zsh/Command
parent795e6eb9b3a245e1cf5d173dd9d0b9c2b9bd2078 (diff)
parenta62e96822489d7af35e1463a4de1e82ad823ba84 (diff)
downloadzsh-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/_setopt5
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) ;;