Closed earthIsAPrisonIfYouNotAwareItCanNotOut closed 7 years ago
$TERM
allows the terminal program (e.g. vim
) to look up the capabilities of the terminal it is running in. If you override it, it won't have the effect you want.
This is not a problem with exec-path-from-shell
, because term-mode
sets $TERM
explicitly. If you want to change its value, modify the variable term-term-name
.
I have tried to run vim in emacs many times the result is also can't be satisfied for me I check the variable in term mode
echo $TERM
it print outeterm-color
then the same step for mac terminalecho $TERM
it print outxterm-256color
something I already use this package to add TERM variable