fix shell mode. There is also eshell which is emacs shell