switch to precmd array in zsh