-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The docs say > Command-line software which adds ANSI color to its output by default > should 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. but we were not checking for the empty string. Link: https://no-color.org/ Link: sharkdp/fd#1421
- Loading branch information
1 parent
7d69fef
commit 79aee58
Showing
3 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[01;34m$'rainbow/\e[1m'[0m | ||
[01;34m$'rainbow/\e[1m/'[0m$'\e[0m' | ||
[01;34mrainbow[0m | ||
[01;34mrainbow/[0m[01;32mexec.sh[0m | ||
[01;34mrainbow/[0m[01;35msocket[0m | ||
[01;34mrainbow/[0m[01;36mbroken[0m | ||
[01;34mrainbow/[0m[01;36mchardev_link[0m | ||
[01;34mrainbow/[0m[01;36mlink.txt[0m | ||
[01;34mrainbow/[0m[30;42msticky_ow[0m | ||
[01;34mrainbow/[0m[30;43msgid[0m | ||
[01;34mrainbow/[0m[33mpipe[0m | ||
[01;34mrainbow/[0m[34;42mow[0m | ||
[01;34mrainbow/[0m[37;41msugid[0m | ||
[01;34mrainbow/[0m[37;41msuid[0m | ||
[01;34mrainbow/[0m[37;44msticky[0m | ||
[01;34mrainbow/[0mfile.dat | ||
[01;34mrainbow/[0mfile.txt | ||
[01;34mrainbow/[0mlower.gz | ||
[01;34mrainbow/[0mlower.tar | ||
[01;34mrainbow/[0mlower.tar.gz | ||
[01;34mrainbow/[0mlu.tar.GZ | ||
[01;34mrainbow/[0mmh1 | ||
[01;34mrainbow/[0mmh2 | ||
[01;34mrainbow/[0mul.TAR.gz | ||
[01;34mrainbow/[0mupper.GZ | ||
[01;34mrainbow/[0mupper.TAR | ||
[01;34mrainbow/[0mupper.TAR.GZ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
command -v unbuffer &>/dev/null || skip | ||
|
||
NO_COLOR= bfs_pty rainbow >"$OUT" | ||
sort_output | ||
diff_output |