about summary refs log tree commit diff
path: root/Completion/Base/Core/_wanted
blob: 5bba7fd637b514fedd432eb9a018d9973b90a680 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#autoload

local -a __targs __gopt

zparseopts -D -a __gopt 1 2 V J x C:=__targs

_tags "$__targs[@]" "$1"

while _tags; do
  _all_labels "$__gopt[@]" "$@" && return 0
done

return 1