Environment variables can have no value at all or they can have the empty string as a value. We used to disable color if $NO_COLOR were set at all, regardless of its value, but as of https://github.com/jcs/no_color/commit/99f90e27d0fac6a34d07998f8f577e1f2f620c61 we should ignore empty strings (and this makes more sense).
Environment variables can have no value at all or they can have the empty string as a value. We used to disable color if
$NO_COLOR
were set at all, regardless of its value, but as of https://github.com/jcs/no_color/commit/99f90e27d0fac6a34d07998f8f577e1f2f620c61 we should ignore empty strings (and this makes more sense).Result:
NO_COLOR= xh
now allows colors.