]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ls: fix a --color regression from r337956
authorkevans <kevans@FreeBSD.org>
Thu, 21 May 2020 03:50:56 +0000 (03:50 +0000)
committerkevans <kevans@FreeBSD.org>
Thu, 21 May 2020 03:50:56 +0000 (03:50 +0000)
commit6ca17c6850b8c79531e1eb45a67cacd268d3d3fc
tree22bff76b558eb523ac90de66d57e93090b303eac
parentfb28c5207550557b4151671aeaac5096b9f914ce
ls: fix a --color regression from r337956

The regression is in-fact that I flipped the default from never to auto. The
incorrect impression was based on an alias that I failed to notice,
installed by the Linux distribution that I used for testing compatibility
here. Users that want the old default should be doing so with a shell alias
as is done elsewhere, rather than making this decision in ls(1).

Many thanks to rgrimes for pointing out the alias that I clearly overlooked
that resulted in this; if you despised colors in your terminal from this,
consider buying him a beer at the next venue that you see him at.

MFC after: 1 week
Relnotes: yes
bin/ls/ls.1
bin/ls/ls.c