1 2 3 4 5
#compdef functions unfunction local expl _wanted functions expl 'shell function' compadd "$@" - "${(k@)functions}"