mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 10:01:11 +02:00
44767: _description: Ignore -J
This commit is contained in:
parent
b79b779166
commit
c6a14bd341
2 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,7 @@
|
|||
2019-10-12 dana <dana@dana.is>
|
||||
|
||||
* 44767: Completion/Base/Core/_description: Ignore -J
|
||||
|
||||
* 44681 (tweaked): Completion/Unix/Command/_composer: Eliminate
|
||||
questionable eval, fix quoting issue
|
||||
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
#autoload
|
||||
|
||||
local name nopt xopt format gname hidden hide match opts tag
|
||||
local -a gropt sort
|
||||
local -a ign gropt sort
|
||||
|
||||
opts=()
|
||||
|
||||
xopt=(-X)
|
||||
nopt=()
|
||||
zparseopts -K -D -a nopt 1 2 V=gropt J x=xopt
|
||||
zparseopts -K -D -a nopt 1 2 V=gropt J=ign x=xopt
|
||||
|
||||
3="${${3##[[:blank:]]#}%%[[:blank:]]#}"
|
||||
[[ -n "$3" ]] && _lastdescr=( "$_lastdescr[@]" "$3" )
|
||||
|
|
Loading…
Reference in a new issue