From c6a14bd34138c89817bb389c00c48ec5f58e7f0a Mon Sep 17 00:00:00 2001 From: dana Date: Sat, 12 Oct 2019 02:02:07 -0500 Subject: 44767: _description: Ignore -J --- ChangeLog | 2 ++ Completion/Base/Core/_description | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1dc27f33d..00e9cd7ef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2019-10-12 dana + * 44767: Completion/Base/Core/_description: Ignore -J + * 44681 (tweaked): Completion/Unix/Command/_composer: Eliminate questionable eval, fix quoting issue diff --git a/Completion/Base/Core/_description b/Completion/Base/Core/_description index c2a0e080b..bdb4007a6 100644 --- a/Completion/Base/Core/_description +++ b/Completion/Base/Core/_description @@ -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" ) -- cgit 1.4.1