zsh commandline history analysis