better logging in zsh history