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

local tag

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

comptags -C _cur_context

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