Unfortunately, cmd can show only its own color scheme and can't be controlled with .bashrc
or any other Cygwin thing in any way. To change its color scheme, you can click with right mouse button on its title bar, choose 'properties' and navigate to 'colors' tab:
(screenshot taken from https://superuser.com/a/199768/219397)
If you need to share your settings across multiple computers, you can create a .reg
file that changes these values directly in Windows Registry. These values are stored in HKEY_CURRENT_USER/Console/
and HKEY_CURRENT_USER/Software/Microsoft/Command Processor
.
What I wholeheartedly recommend though is to not use cmd.exe
and use MinTTY instead:
- it understands
.bashrc
- it resizes nicely
- it supports UTF8
- works nicely with packages installed with Cygwin (python etc.)
- it supports window transparency
- finally, it lets you change color scheme through
.minttyrc
(or GUI dialogs)
Here is an example how it looks like: