Skip to content

Commit

Permalink
Tweak the spec wording to explain that it should be not empty
Browse files Browse the repository at this point in the history
"the presence of... when present" was redundant.

This was mentioned in #83 regarding the [ command's -z flag.
  • Loading branch information
jcs committed Jun 27, 2022
1 parent eac282a commit 99f90e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ Accepting the futility of trying to reverse this trend, an informal standard
is hereby proposed:

> **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.**
check for a `NO_COLOR` environment variable that, when present and not an empty
string (regardless of its value), prevents the addition of ANSI color.**

By adopting this standard, users that prefer to have plain, non-colored text
output can set one environment variable in their shell to have it automatically
Expand Down

0 comments on commit 99f90e2

Please sign in to comment.