zsh-workers
 help / color / mirror / code / Atom feed
64506d05a5325b99f7079219edaae9ad7c5e848d blob 600 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
 
#autoload

local __gopt __descr __spec

__gopt=()
zparseopts -D -a __gopt 1 2 V J x

if comptags -A "$1" curtag __spec; then
  (( $#funcstack > _tags_level )) && _comp_tags="${_comp_tags% * }"
  _tags_level=$#funcstack
  _comp_tags="$_comp_tags $__spec "
  if [[ "$curtag" = *[^\\]:* ]]; then
    zformat -f __descr "${curtag#*:}" "d:$3"
    _description "$__gopt[@]" "${curtag%:*}" "$2" "$__descr"
    curtag="${curtag%:*}"
    set -A $2 "${(P@)2}" "${(@)argv[4,-1]}"
  else
    _description "$__gopt[@]" "$curtag" "$2" "$3"
    set -A $2 "${(@)argv[4,-1]}" "${(P@)2}"
  fi

  return 0
fi

return 1
debug log:

solving 64506d05a ...
found 64506d05a in https://git.vuxu.org/mirror/zsh/

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).