Re: msysgit color scheme
- From
Erik Faye-Lund <kusmabite@gmail.com>
- Date
- Mar 2, 2014, 23:27 UTC
- Message-ID
- <CABPQNSYPTifbRZ8jJxOe3BqnDD-x6JGTg2tSWuU8boOEVEv0eg@mail.gmail.com>
- In-Reply-To
- <CAHd499Arq_KhSKH=quez4irU_i4AjZN-anbvGn3XM--Cg4Nypg@mail.gmail.com>
On Fri, Feb 28, 2014 at 11:38 PM, Robert Dailey <rcdailey.lists@gmail.com> wrote:
Show 6 quoted lines
> Is there a way to change color scheme in msysgit without going through > the Properties >> Colors settings? > > Reason I ask is because I share the same HOME directory and .bashrc > file between msysgit and cygwin, and it'd be nice to use the same > color scheme defined in the bashrc between both.
Not really. The reason is that in cygwin, it's the terminal emulatorl that does the coloring, but this doesn't work for non-cygwin programs. So we're detecting if stdout points to a console, and setting win32-console attributes directly. If you're interested in the details, see compat/winansi.c.