1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-17 10:20:55 +01:00
zsh/Completion/Builtins/_zle
2000-03-23 04:19:26 +00:00

10 lines
237 B
Text

#compdef zle
local expl
if [[ "$words[2]" = -N && CURRENT -eq 3 ]]; then
_wanted -C -N functions expl 'widget shell function' \
compadd "$@" - "${(k@)functions}"
else
_wanted widgets expl widget compadd - "${(@k)widgets}"
fi