What is NO_COLOR?
NO_COLOR is a hint to the software running in the terminal to suppress addition of color.
More about NO_COLOR at:
no-color.org
Background:
quote #1 from no-color.org
NO_COLOR is a hint to the software running in the terminal to suppress addition of color.
More about NO_COLOR at:
no-color.org
Background:
quote #1 from no-color.org
quote #2 from no-color.orgAn increasing number of command-line software programs output text with ANSI color escape codes by default. While some developers and users obviously prefer seeing these colors, many users don’t. Unfortunately, every new piece of software seems to have a different way of disabling colored text output and some software has no way at all.
Command-line software which adds ANSI color to its output by default should check for the presence of a NO_COLOR environment variable that, when present (regardless of its value), prevents the addition of ANSI color.