migrate emacs history bindings for zsh