Save zsh history
Copy more snippets from zprezto

* Load url-quote-magic module.
* Use Emacs bindings.
* Source /etc/zsh_command_not_found if present.