Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Do not output colors e.g. into a pipe, unless forced. #1077
Yea, I understand that part (about putting color information in the stream). I was just thinking more about keeping things consistent between platforms.
If I have CLICOLOR=0 in my linux environment, I would like to see the same thing happen (interactively) when I set the environment variable in windows.
The functions for retrieving environment variables and testing for tty are available on windows too.