freebsd-dev/bin/ls
Kyle Evans a408dc2018 ls(1): actually restore proper behavior
Highlights:
- CLICOLOR in the environment should imply --color=auto to maintain
  compatibility with historical behavior
- -G should set CLICOLOR and imply --color=auto

The manpage has been updated to draw the connection between -G and --color;
the former is in-fact a sort of compromise between --color=always and
--color=auto, where we'll output color regardless of the environment lacking
CLICOLOR/COLORTERM assuming stdout is a tty.

X-MFC-With: r361318
2020-05-21 14:39:00 +00:00
..
tests Fix ls_tests:o_flag with ZFS TMPDIR 2016-12-15 16:13:52 +00:00
cmp.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
extern.h ls(1): Add --color=when 2018-08-17 04:15:51 +00:00
ls.1 ls(1): actually restore proper behavior 2020-05-21 14:39:00 +00:00
ls.c ls(1): actually restore proper behavior 2020-05-21 14:39:00 +00:00
ls.h Convert ls(1) to not use libxo(3) 2018-01-17 22:47:34 +00:00
Makefile Now that we have MK_LS_COLORS, we don't need RELEASE_CRUNCH check here. 2019-07-15 07:35:46 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
Makefile.depend.options Add Makefile.depend.options 2019-12-11 17:37:37 +00:00
print.c ls(1): Add --color=when 2018-08-17 04:15:51 +00:00
util.c ls(1): Add --color=when 2018-08-17 04:15:51 +00:00