about summary refs log tree commit diff
path: root/Completion/Core/_requested
blob: a582adfb9ae50a65aed1cecf3b131239556c5871 (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" &&
    if [[ $# -gt 1 ]]; then
      _description "$@"
      return 0
    fi