Re:No_color
by quesera on Saturday February 26, 2022 @07:47PM
(#30484027)
I think it's fairly common.
Rather than parsing all the permutations, the usual evaluation of env vars that are expected to hold a boolean type is just the equivalent of:
[ Parent
| on HN ]
Well, in ZSH [[ -v VAR ]] can actually differentiate between unset and null variables
And
NO_COLOR=
would lead to an non-intuitive behavior