mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-22 16:41:12 +02:00
38641: allow for values which resemble compadd options
This commit is contained in:
parent
cf01ad96d4
commit
d2a140e75d
2 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
||||||
2016-06-09 Oliver Kiddle <opk@zsh.org>
|
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
|
* 38639: Completion/Unix/Command/_su: fix username completion
|
||||||
after -, update options and get user shell with getent
|
after -, update options and get user shell with getent
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
local subopts opt usecc garbage
|
local subopts opt usecc garbage
|
||||||
|
|
||||||
subopts=()
|
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]}" )
|
(( $#subopts )) && subopts=( "${(@P)subopts[2]}" )
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue