coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

thoughts on NO_COLOR


From: Pádraig Brady
Subject: thoughts on NO_COLOR
Date: Sun, 27 Feb 2022 20:37:36 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:97.0) Gecko/20100101 Thunderbird/97.0

I just noticed some de facto treatment of the NO_COLOR env var.
https://no-color.org/

I was considering having ls --color=auto honor this, but then thought
it is not actually needed in ls, since we give fine grained
control over the colors / styles used.

For example one might very well always want at least some distinguishing
of files and directories, with bold / bright etc.
which can be achieved now with LS_COLORS.

Or looking at it another way, ls is ubiquitous enough
that it's probably already color configured as the user desires,
and having ls honor the less fine grained NO_COLOR flag,
would result in less flexibility.

cheers,
Pádraig



reply via email to

[Prev in Thread] Current Thread [Next in Thread]