Re:Things I wish they told you about Emacs
by clynbech on Wednesday November 18, 2015 @08:33AM
(#10587556)
I found that 'shell' mode occasionally got confused, for instance on what the current directory is. I have changed to 'eshell' as my primary shell emulator, one that implements a number of the basic commands directly in elisp. It works quite well, except when running an interactive command which is does not handle well and there are some issues with piping as well.
[ Parent
| on HN ]
Yes, that is irritating though you can run M-x shell-resync-dirs to fix shell when it gets confused.
Generally I like to have bash available so that's why I use shell instead of shell.