I'm using emacs inside a mintty (configured to say it's xterm-256color) terminal on cygwin.
list-colors-display works fine. and colors are displayed in dired listings etc. Now I set the color for
git branch current branch to be
yellow reverse. However, neither shell nor eshell windows display the correct color; instead, the current branch is shown in default color. In an
ansi-term window, or Outside of emacs, inside the same terminal, it displays as it should.
I have this in my
(add-hook 'eshell-preoutput-filter-functions 'ansi-color-apply)
Any way to get these colors to display inside the shell or eshell windows?
git config --global color.ui alwaysrunning
git diff. Could you provide more detailed steps?