I'm noticing something really odd in my ansi-term windows on my new Mac, see below:

enter image description here

I am using:

GNU Emacs 27.0.50 (build 1, x86_64-apple-darwin16.7.0, NS appkit-1504.83 Version 10.12.6 (Build 16G1036)) of 2017-11-10

which I installed using brew using:

brew install emacs --HEAD  --with-cocoa --with-ctags --with-dbus --with-gnutls  --with-imagemagick@6 --with-mailutils --with-modules

Note that:

oh-my-zsh and termsupport.sh

I only seem to have this problem when I load oh-my-zsh. As I mentioned in a ticket I opened with them, the problem seems to be termsupport.sh specifically. The problem only happens if oh-my-zsh loads that file.

1 Answer 1


I found the problem. As I mentioned in the ticket, I was setting the variable EMACS myself in .zshenv to help setup PATH. As it happens termsupport.zsh also uses this variable name internally. All I had to do is rename my own variable to something else, and it all now works.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.