about summary refs log tree commit diff
path: root/Completion/Zsh/Command/_autoload
blob: 50423d51a0c3529263686aa39fa642625a980c62 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#compdef autoload

local expl

if (( $words[(I)[-+]*w*] )); then
  _description files expl 'zwc file'
  _files "$expl[@]" -g '*.zwc(-.)'
else
  _wanted functions expl 'shell function' compadd - ${^fpath}/*(:t)
fi