about summary refs log tree commit diff
path: root/Completion/Core/_requested
blob: 082c458208c3076eb10cb4be381aa25f83222cfe (plain) (blame)
1
2
3
4
5
6
7
8
9
#autoload

local tag tname="$funcstack[2,-1]"

for tag; do
  [[ "${_cur_tags[${tname}]}" = *:${tag}(:|\[*\]:)* ]] && return 0
done

return 1