by rgtk · 10y ago · 0 comments
However, more generic solution shall be used, like checking out parent process of current session to determine environment in which bash is running.
Doing software this way makes bash and emacs working well, but hard to make other softwares interact with both of them... Sublime, acme, micro, and so on can benefit of a better solution. In the same way, other shell should work fine inside emacs (M-x ansi-term).
But software design is not expected here (see downvotes)