change to use add-zsh-hook for precmd in zshrc