summaryrefslogtreecommitdiffstats
path: root/tests/bfs/color_bsd.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2025-07-03 13:40:43 -0400
committerTavian Barnes <tavianator@tavianator.com>2025-07-04 08:22:35 -0400
commitefb983406cba85a92573f50cfc94c455422e7d3a (patch)
tree6aec438eee7b463f0f84db59b9d38cdc18af308e /tests/bfs/color_bsd.sh
parent2598b0d3e62d8b689937444ace194dcc51c34d12 (diff)
downloadbfs-efb983406cba85a92573f50cfc94c455422e7d3a.tar.xz
color: Match the BSD $LSCOLORS behaviour more closelyHEADmain
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.
Diffstat (limited to 'tests/bfs/color_bsd.sh')
-rw-r--r--tests/bfs/color_bsd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bfs/color_bsd.sh b/tests/bfs/color_bsd.sh
index f8a777f..2e99f0b 100644
--- a/tests/bfs/color_bsd.sh
+++ b/tests/bfs/color_bsd.sh
@@ -1 +1 @@
-LSCOLORS="eB" bfs_diff rainbow -color
+LSCOLORS="exFxcXDXbxeGxdXb" bfs_diff rainbow -color