1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 13:33:52 +01:00
zsh/Completion/Builtins/_zle
2000-05-31 09:38:25 +00:00

11 lines
221 B
Plaintext

#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