1 2 3 4 5
#compdef shift local expl _wanted arrays expl array compadd - "${(@k)parameters[(R)*array*]}"