1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-01 05:16:05 +01:00

38641: allow for values which resemble compadd options

This commit is contained in:
Oliver Kiddle 2016-06-09 22:54:07 +02:00
parent cf01ad96d4
commit d2a140e75d
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2016-06-09 Oliver Kiddle <opk@zsh.org>
* 38641: Completion/Base/Utility/_values: allow for values which
resemble compadd options
* 38639: Completion/Unix/Command/_su: fix username completion
after -, update options and get user shell with getent

View file

@ -3,7 +3,7 @@
local subopts opt usecc garbage
subopts=()
zparseopts -D -E -a garbage C=usecc O:=subopts M: J: V: 1 2 n F: X:
zparseopts -D -a garbage C=usecc O:=subopts M: J: V: 1 2 n F: X:
(( $#subopts )) && subopts=( "${(@P)subopts[2]}" )