Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No git color schemes under rxvt/cygwin

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 = [email protected]    
[color]
  diff = auto
  status = auto
  branch = auto
[core]
  autocrlf = false
like image 815
Chris Avatar asked Nov 15 '10 15:11

Chris


2 Answers

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
like image 170
gnfalex Avatar answered Nov 13 '22 22:11

gnfalex


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

like image 21
Chris Avatar answered Nov 13 '22 22:11

Chris