summary refs log tree commit diff
path: root/Completion/Builtins/_autoload
blob: 238b79e956d75bb2050711841349be3ed9cf8575 (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}/*(N:t)
fi