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

11 lines
221 B
Plaintext
Raw Normal View History

2000-05-31 11:38:25 +02:00
#compdef zle
1999-04-15 20:05:38 +02:00
2000-05-31 11:38:25 +02:00
local expl
if [[ "$words[2]" = -N && CURRENT -eq 3 ]]; then
_wanted -C -N functions expl 'widget shell function' \
compadd "$@" -k functions
1999-04-15 20:05:38 +02:00
else
2000-05-31 11:38:25 +02:00
_wanted widgets expl widget compadd -k widgets
1999-04-15 20:05:38 +02:00
fi