You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would allow us to test for NO_COLOR, and other environment variables whose values do not matter. What matters is only whether or not the environment variable is defined (non-empty).
In order to move forward on this, we need a syntax for testing whether or not an environment variable is nuset (or empty). It could be !NO_COLOR to check when not set, but to check when set, we can't just use NO_COLOR, because that's ambigous. Maybe !!NO_COLOR?
It is possible to do:
FOO=abc.R
FOO=def.R
FOO!=abc.R
but it is neither possible to test for empty value nor non-defined values; the following doesn't work:
FOO=.R
FOO=,dummy.R
FOO='',dummy.R
FOO!=,dummy.R
FOO!='',dummy.R
The text was updated successfully, but these errors were encountered: