1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-17 22:31:12 +01:00
zsh/Completion/Builtins/_zle

11 lines
237 B
Text
Raw Normal View History

1999-04-15 20:25:40 +02:00
#compdef zle
1999-04-15 20:17:36 +02:00
1999-08-19 13:18:05 +02:00
local expl
1999-04-15 20:18:42 +02:00
if [[ "$words[2]" = -N && CURRENT -eq 3 ]]; then
2000-03-23 05:19:26 +01:00
_wanted -C -N functions expl 'widget shell function' \
compadd "$@" - "${(k@)functions}"
1999-04-15 20:17:36 +02:00
else
2000-03-23 05:19:26 +01:00
_wanted widgets expl widget compadd - "${(@k)widgets}"
1999-04-15 20:17:36 +02:00
fi