From dd3d990aca9d10de6b70fb6b30f45bfd2cc066f7 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 11 May 2022 19:19:54 -0400 Subject: color: Don't colorize capable files by default GNU ls changed this default in coreutils 9.1, since checking capabilities has a severe performance penalty. Link: https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=6b5134770d35b045e5a9219bf4a216324e0113d3 --- src/color.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/color.c b/src/color.c index b543882..c510fa8 100644 --- a/src/color.c +++ b/src/color.c @@ -447,7 +447,7 @@ struct colors *parse_colors() { ret |= init_color(colors, "fi", NULL, &colors->file); ret |= init_color(colors, "mh", NULL, &colors->multi_hard); ret |= init_color(colors, "ex", "01;32", &colors->executable); - ret |= init_color(colors, "ca", "30;41", &colors->capable); + ret |= init_color(colors, "ca", NULL, &colors->capable); ret |= init_color(colors, "sg", "30;43", &colors->setgid); ret |= init_color(colors, "su", "37;41", &colors->setuid); -- cgit v1.2.3