4 ms·
I just do most of my bash work in emacs shell mode.
by Estragon 15y ago
I just do most of my bash work in emacs shell mode.
- dustingetz 15y agome too for a couple months now - there are a lot of rough edges - any tips? i have serious prompt issues, i have intermittently malformed colors. is your configuration on github? turns out i'm willing to tolerate a lot of pain to have emacs operations in a shell buffer, haha
- tikhonj 15y agoWhat kind of prompt issues do you have? I've set my Emacs up so that each shell has a prompt in the form name:directory> where name is the buffer name and directory is the current directory, and both name and directory are in different colors, and it all works well. As far as colors go, shell mode does its own highlighting. I used to have problems with ANSI code colors, but they have been working properly recently. (I just tried ls --color=always which worked as expected, unexpectedly.) Which version of Emacs are you on? Note that this is all without any configuration. The only thing I did was add a command for opening a new shell in the current directory which turned out to be extremely useful. It even works for remote files, so now I use shell mode for almost everything.