Respect NO_COLOR
dertuxmalwieder opened this issue · comments
I do use an "*ix shell" (namely, rc
), but as I hate a shell that looks like an unicorn had puked all over it, I usually use NO_COLOR to get rid of that. zpaqfranz - now that it supports colors - should respect that.
Sadly, there is
But only for... Windows 😄
#ifdef _WIN32
char *no_color=getenv("NO_COLOR");
if ((no_color!=NULL) && (no_color[0]!='\0'))
flagnocolor=true;
I'll fix
PS what do you think of the new list format? Do you like it?
Nobody uses NO_COLOR on Windows! ;-)
Ah, my personal taste is not relevant, I guess.
Nobody uses NO_COLOR on Windows! ;-)
Ah, my personal taste is not relevant, I guess.
Why not? Kaizen matters
Sure, but it’s your tool, not mine. I - personally - wouldn’t even have added dir
.