开发者

No git color schemes under rxvt/cygwin

开发者 https://www.devze.com 2023-01-24 23:23 出处:网络
After getting tired of the default cygwin terminal, I decide to try rxvt. Everything seems fine except one thing: the color schemes for my git repositories stop working.

After getting tired of the default cygwin terminal, I decide to try rxvt. Everything seems fine except one thing: the color schemes for my git repositories stop working.

BTW other color schemes like the vim editor works fine under rxvt. I also ran this script to ensure that 256 colors are enabled.

My ~/.gitconfig looks something like this:

[user]
  name = xyz
  email = xyz@abc.com    
[color]
  diff = auto
开发者_如何转开发  status = auto
  branch = auto
[core]
  autocrlf = false


If change all settings in ~/.gitconfig color section from "auto" to "always", then MSYSGit coloring work even in rxvt/mintty

[color]
    ui = always
    status = always
    branch = always
    diff = always
    interactive = always


Thanks to suggestion by ak2, I solved this problem by switching from msysgit to cygwin's git.

0

精彩评论

暂无评论...
验证码 换一张
取 消