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

local __targs __gopt

__gopt=()
__tagrs=()
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