diff options
author | Kyle Evans <kevans@FreeBSD.org> | 2018-08-17 04:15:51 +0000 |
---|---|---|
committer | Kyle Evans <kevans@FreeBSD.org> | 2018-08-17 04:15:51 +0000 |
commit | e10ba80063386211b1c74eb72b4fb0f4093e93c0 (patch) | |
tree | a4c99e1a78be1d46c6c006b98c22c18a8d3ec8af /UPDATING | |
parent | b14959dacc796b287f2b8fc1da0bf975797ecf6f (diff) | |
download | src-test2-e10ba80063386211b1c74eb72b4fb0f4093e93c0.tar.gz src-test2-e10ba80063386211b1c74eb72b4fb0f4093e93c0.zip |
ls(1): Add --color=when
--color may be set to one of: 'auto', 'always', and 'never'.
'auto' is the default behavior- output colors only if -G or COLORTERM are
set, and only if stdout is a tty.
'always' is a new behavior- output colors always. termcap(5) will be
consulted unless TERM is unset or not a recognized terminal, in which case
ls(1) will fall back to explicitly outputting ANSI escape sequences.
'never' to turn off any environment variable and -G usage.
Reviewed by: cem, 0mp (both modulo last-minute manpage changes
Differential Revision: https://reviews.freebsd.org/D16741
Notes
Notes:
svn path=/head/; revision=337956
Diffstat (limited to 'UPDATING')
-rw-r--r-- | UPDATING | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -35,9 +35,9 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12.x IS SLOW: ls(1) now respects the COLORTERM environment variable used in other systems and software to indicate that a colored terminal is both supported and desired. If ls(1) is suddenly emitting colors, they may - be disabled again by removing the unwanted COLORTERM from your - environment. The ls(1) specific CLICOLOR may not be observed in a - future release. + be disabled again by either removing the unwanted COLORTERM from your + environment, or using `ls --color=never`. The ls(1) specific CLICOLOR + may not be observed in a future release. 20180808: The default pager for most commands has been changed to "less". To |