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

local tag

if [[ "$1" = -[VJ]* ]]; then
  tag="$2"
else
  tag="$1"
fi

comptags -R "$tag" && _comp_tags="$_comp_tags $tag" &&
    if [[ $# -gt 1 ]]; then
      _description "$@"
      return 0
    fi