Improve Emacs shell integration for those of us who don't live in Emacs.