CM: generalize zsh