Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emacs theme looks weird with MobaXterm

Tags:

emacs

I am using MobaXterm with default settings and Emacs 25 with no forwarding window.

emacs --nw

MobaXterm has basic highlights in the shell, but it seems that it interferes with Emacs themes. When I load the spacemacs-dark theme in Emacs, it doesn't show. When I load the cherry-blossom theme, it is pink all over the place.

How can I fix this?

like image 685
Yixing Liu Avatar asked Dec 01 '25 02:12

Yixing Liu


2 Answers

I find the answer at EmacsWiki. Put this in the .bashrc file:

export TERM=xterm-256color

This is not a MobaXterm specific questions.

like image 85
Yixing Liu Avatar answered Dec 03 '25 00:12

Yixing Liu


I find the answer at EmacsWiki. Put this in the .bashrc file:

export TERM=xterm-256color

This is not a MobaXterm specific questions.

like image 38
Yixing Liu Avatar answered Dec 03 '25 01:12

Yixing Liu



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!