Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 1.28 KB

readme.md

File metadata and controls

36 lines (21 loc) · 1.28 KB

Color settings for the Cygwin mintty terminal

Based on the solarized color scheme by Ethan Schoonover. See full details at http://ethanschoonover.com/solarized

This project can be found at https://github.com/mavnn/mintty-colors-solarized and is designed to be included as a subtree of https://github.com/altercation/solarized

Mintty internal defaults

You can set these as your default /.minttyrc configuration file. This means that a mintty terminal reset doesn't lose your color settings. Simply append the appropriate file to your mintty config file (/.minttyrc) and then edit the file and tweak as below:

cat ./.minttyrc.light >> ~/.minttyrc

or

cat ./.minttyrc.dark >> ~/.minttyrc

Then open the config file and remove the 3 pre-existing color settings for:

ForegroundColour= ...
BackgroundColour= ...
CursorColour= ...

as they will be re-specified further down in the appended section.

Adding to your login scripts

If for any reason you would prefer not to change your config file, you can do the following:

Copy the two files into a directory in your home (for example .solar) and add one of the following lines to your .bashrc file:

source ~/%your directory%/sol.light

or

source ~/%your directory%/sol.dark

Color schemes can be swapped interactively using the same commands.