Date: Wed, 28 Feb 2024 12:49:07 GMT From: Gordon Bergling <gbe@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: d19769300126 - stable/14 - ls.1: Mention CLICOLOR environment variable Message-ID: <202402281249.41SCn7FD012842@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by gbe: URL: https://cgit.FreeBSD.org/src/commit/?id=d19769300126426cc59b83036d3ba3e3d8425c16 commit d19769300126426cc59b83036d3ba3e3d8425c16 Author: Gordon Bergling <gbe@FreeBSD.org> AuthorDate: 2024-02-21 10:54:58 +0000 Commit: Gordon Bergling <gbe@FreeBSD.org> CommitDate: 2024-02-28 12:48:42 +0000 ls.1: Mention CLICOLOR environment variable Mention CLICOLOR environment variable in the manual page. PR: 276556 Submitted by: bsdcode at disroot dot org Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D43970 (cherry picked from commit ffea732c5192070a6877409428b0a2cc1728aa16) --- bin/ls/ls.1 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/bin/ls/ls.1 b/bin/ls/ls.1 index 0d03fce804f2..1b0f24593adc 100644 --- a/bin/ls/ls.1 +++ b/bin/ls/ls.1 @@ -31,7 +31,7 @@ .\" .\" @(#)ls.1 8.7 (Berkeley) 7/29/94 .\" -.Dd January 12, 2024 +.Dd February 21, 2024 .Dt LS 1 .Os .Sh NAME @@ -246,9 +246,11 @@ but only if .Dv stdout is a tty and either the .Fl G -flag is specified or the +flag is specified or one of the environment variables .Ev COLORTERM -environment variable is set and not empty. +or +.Ev CLICOLOR +is set and not empty. .Pp .Cm never will disable color regardless of environment variables.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402281249.41SCn7FD012842>