threads / discuss / 36004

msysgit color scheme

Subject: msysgit color scheme

## tl;dr

2 messages between Feb 28, 2014 and Mar 2, 2014.

replies: 1people: 2as markdown or json

Robert Dailey· Feb 28, 2014, 22:38 UTC · lore

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· Mar 2, 2014, 23:27 UTC · re: Robert Dailey · lore

Re: msysgit color scheme

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.

← back to recent threads