add bash setting and better shell support for emacs