#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