I'm using multi-term
right now in GUI cocoa emacs on OSX, and it works great in general. However, I'm running into a bit of an issue with my TERM
variable. I generally set it to xterm-256color
for iterm, but that causes odd behavior with terminal apps like htop in emacs multi-term
. However, htop and other terminal apps work perfectly in multi-term
when TERM
is set to eterm-color
.
As a result, I'm wondering if there is any way for me to have xterm-256color
as the default coded in my .bash_profile, but have emacs automatically run TERM=eterm-color
or a similar command when starting a new multi-term?