re-add bashrc, put emacs run-or-raise code in a bash function