From b30242bd400462a74e98bcd79ab5e69831590198 Mon Sep 17 00:00:00 2001 From: Tavian Barnes <tavianator@tavianator.com> Date: Thu, 28 Mar 2019 19:43:26 -0400 Subject: color: Implement ln=target With ln=target in LS_COLORS, links should be colored according to their target's stat() info, not their own. --- tests/test_color_ln_target.out | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tests/test_color_ln_target.out (limited to 'tests') diff --git a/tests/test_color_ln_target.out b/tests/test_color_ln_target.out new file mode 100644 index 0000000..cd4ec5e --- /dev/null +++ b/tests/test_color_ln_target.out @@ -0,0 +1,20 @@ +[01;34mrainbow[0m +[01;34mrainbow/[0m[01;31mbroken[0m +[01;34mrainbow/[0m[01;32mexec.sh[0m +[01;34mrainbow/[0m[01;33mchardev_link[0m +[01;34mrainbow/[0m[01;35msocket[0m +[01;34mrainbow/[0m[30;42msticky_ow[0m +[01;34mrainbow/[0m[30;43msgid[0m +[01;34mrainbow/[0m[33mpipe[0m +[01;34mrainbow/[0m[34;42mow[0m +[01;34mrainbow/[0m[37;41msugid[0m +[01;34mrainbow/[0m[37;41msuid[0m +[01;34mrainbow/[0m[37;44msticky[0m +[01;34mrainbow/[0mfile.dat +[01;34mrainbow/[0mfile.txt +[01;34mrainbow/[0mlink.txt +[01;34mrainbow/[0mmh1 +[01;34mrainbow/[0mmh2 +[01;34mrainbow/[0mstar.gz +[01;34mrainbow/[0mstar.tar +[01;34mrainbow/[0mstar.tar.gz -- cgit v1.2.3