zsh-workers
 help / color / mirror / code / Atom feed
da380303973f22b2a0424b324d6b085edaaa64af blob 676 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
 
#compdef disable

local -a ali_arr sali_arr func_arr

ali_arr=(${(k)aliases} ${(k)galiases})
sali_arr=(${(k)saliases})
func_arr=(${(k)functions})

_arguments -C -s -A "-*" -S \
  "(-f -r -s -p)-a[act on regular or global aliases]:*:regular or global alias:compadd -k ali_arr" \
  "(-a -r -s -p)-f[act on functions]:*:function:compadd -k func_arr" \
  "(-a -f -s -p)-r[act on reserved words]:*:reserved-word:compadd -k reswords" \
  "(-a -f -r -p)-s[act on suffix aliases]:*:suffix alias:compadd -k sali_arr" \
  "(-a -f -r -s)-p[act on pattern characters]:*:pattern character:compadd -k patchars" \
  '-m[treat arguments as patterns]' \
  "*:builtin command:(${(k)builtins})"
debug log:

solving da3803039 ...
found da3803039 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).