#compdef zle if [[ "$words[2]" = -N && CURRENT -eq 3 ]]; then compgen -F else compgen -b fi