mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-20 05:53:52 +01:00
11 lines
209 B
Plaintext
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
|