Move setopt before prompt