#compdef shift local expl _wanted arrays expl array && compadd "$expl[@]" - "${(@k)parameters[(R)*array*]}"