In my regular shell I have PROMPT_COMMAND set up to run a script which keeps track of certain information about all the commands I run from any host I connect to. This is very helpful. I often find myself using the emacs shell though, and commands that I run in the emacs shell are not subject to that archiving that I so value. Is there a way to make them go through the same PROMPT_COMMAND script every time I run one?
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.