1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-20 14:04:03 +01:00
zsh/Completion/Builtins/_autoload

11 lines
209 B
Plaintext

#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