cat -n .zsh_history | sort -t ';' -uk2 | sort -nk1 | cut -f2- > .zhistory