summaryrefslogtreecommitdiffstats
path: root/tests/bfs/color_bsd.sh
Commit message (Collapse)AuthorAgeFilesLines
* color: Match the BSD $LSCOLORS behaviour more closelyHEADmainTavian Barnes5 hours1-1/+1
| | | | | | | | | BSD/macOS ls(1) don't reject overlong or odd-length $LSCOLORS values (although they can warn, which we don't). They also don't use the "intense" background colors for capital letters; instead, that enables underline on FreeBSD, or (foreground) bold on macOS. We copy FreeBSD here.
* Support for FreeBSD-style ls ColoringVinX29 hours1-0/+1
If LSCOLORS is undefined or partially defined (missing some of the eleven expected value pairs), the patch will automatically fill in those missing values with default colors. However, if the LS_COLORS environment variable is already defined, the application prefer the LS_COLORS approach, maintaining current working flow of the program.