# msysgit color scheme

2 messages from 2014-02-28 to 2014-03-02. Participants: Robert Dailey, Erik Faye-Lund.
Thread: https://gitlist.dev/t/36004

## Robert Dailey, 2014-02-28 22:38

Subject: msysgit color scheme
Message-ID: <CAHd499Arq_KhSKH=quez4irU_i4AjZN-anbvGn3XM--Cg4Nypg@mail.gmail.com>
URL: https://gitlist.dev/e/CAHd499Arq_KhSKH%3Dquez4irU_i4AjZN-anbvGn3XM--Cg4Nypg%40mail.gmail.com

```
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.

Any tips?

```

## Erik Faye-Lund, 2014-03-02 23:27

Subject: Re: msysgit color scheme
Message-ID: <CABPQNSYPTifbRZ8jJxOe3BqnDD-x6JGTg2tSWuU8boOEVEv0eg@mail.gmail.com>
URL: https://gitlist.dev/e/CABPQNSYPTifbRZ8jJxOe3BqnDD-x6JGTg2tSWuU8boOEVEv0eg%40mail.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:
> 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.

```
