I'd like to change the blue color that Cygwin uses for directories. It is too dark to read on most screens.
You probably get the colors from
ls itself. You get this from invoking it as
ls --color. You can either disable this alias, or you can change the colors. I find the colors useful, so I change the colors.
There are defaults, but you can override these by use of the
LS_COLORS environment variable. You can set this manually, or you can use the tool dircolors to help you.
If you're using MinTTY (which you almost certainly are, unless you know you're doing something special), the easiest method is to change your MinTTY settings. You can do this by editing your
Try running the below, then restarting MinTTY:
echo 'Blue=127,127,255' >> ~/.minttyrc echo 'BoldBlue=191,191,255' >> ~/.minttyrc
This will work for everywhere that blue colour turns up, not just in the results from
There is also a command line option
--option that allows you to change colours
E.g. The following changes the blue to something more readable
C:\cygwin\bin\mintty.exe --option Blue=128,128,192 -i /Cygwin-Terminal.ico -
Another way of looking at this problem is that the default "Dark Blue" color used by CMD Powershell Bash etc. on Windows is too dark. You can change it by:
- Click the top right icon
- Click Properties
- Click the Colors tab
- Select the 2nd Dark Blue color
- Change Blue: 128 to 255
- Hit tab to save the value
- Select the original background color (Usually black)
- Click OK