about summary refs log tree commit diff
path: root/Completion/Builtins/_zle
blob: 06e8fcad3a2dc9027cffbf211b85d1a74ed8d05b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#compdef zle

local expl

if [[ "$words[2]" = -N && CURRENT -eq 3 ]]; then
  _description expl 'widget shell function'
  compgen "$expl[@]" -F
else
  _description expl widget
  compgen "$expl[@]" -b
fi