mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-11 04:20:01 +01:00
36177: _setopt: complete printexitvalue both ways
This commit is contained in:
parent
5d019f426a
commit
3f171fd463
@ -1,3 +1,8 @@
|
||||
2015-08-17 Mikael Magnusson <mikachu@gmail.com>
|
||||
|
||||
* 36177: Completion/Zsh/Command/_setopt: complete printexitvalue
|
||||
both ways
|
||||
|
||||
2015-08-15 Barton E. Schaefer <schaefer@zsh.org>
|
||||
|
||||
* 36180: Src/jobs.c: avoid infinite job stop/continue loop on
|
||||
|
@ -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) ;;
|
||||
|
Loading…
Reference in New Issue
Block a user