Added new history commands and prompt options.
made compatible with mac's zsh.