summaryrefslogtreecommitdiffstats
path: root/tests/bfs/nocolor_env_empty.sh
Commit message (Collapse)AuthorAgeFilesLines
* tests: Remove unneeded command -v unbuffer || skipTavian Barnes2024-01-011-2/+0
|
* Treat NO_COLOR="" the same as unsetTavian Barnes2023-11-061-0/+5
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: https://github.com/sharkdp/fd/pull/1421