1
eshell中的彩色git输出
我在cygwin上的mintty(配置为xterm-256color)终端中使用emacs。list-colors-display工作良好。和颜色显示在干燥清单等中。现在,将git branch当前分支的颜色设置为yellow reverse。但是,shell窗口和eshell窗口都不会显示正确的颜色。而是以默认颜色显示当前分支。在ansi-term同一终端内的窗口中,或在emacs外部,它将按应显示的方式显示。 我在我的.emacs: (add-hook 'eshell-preoutput-filter-functions 'ansi-color-apply) 有什么方法可以使这些颜色显示在外壳或eshell窗口中?