1 2 3 4 5 6 7 8 9 10 11
#compdef command if [[ CURRENT -ge 3 ]]; then compset -n 2 _normal else local expl _description expl command compgen "$expl[@]" -em fi