Fixes some zsh and tmux interactions around history retention and emacs bindings