[Bug 230101] [PATCH] Enable ls colors when COLORTERM is defined

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jul 28 20:47:44 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230101

--- Comment #4 from D Green <dfrg at xsmail.com> ---
(In reply to Yuri Pankov from comment #2)

Yes, colors would be automatic for any terminal setting COLORTERM wheres
CLICOLOR requires explicit configuration. The existing check that TERM is
suitable is unchanged.

I can't think of a non-contrived reason for a user of a color terminal not
wanting that behavior but if so then unsetting COLORTERM via .shellrc is
trivial and already necessary as many other binaries external to the project
enable colors automatically when it is defined.

As with Conrad, I think it's better to follow the defacto standard rather than
use a unique variable (or two if you count CLICOLOR_FORCE). Currently you
either know to set the non-portable CLICOLOR or forgo color functionality.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list