about summary refs log tree commit diff
path: root/Completion/Zsh/Command/_autoload
blob: 81ded019a7f9f86ae36d7c2d53b95a57cec59524 (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