diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2022-05-11 19:19:54 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2022-05-11 19:19:54 -0400 |
commit | dd3d990aca9d10de6b70fb6b30f45bfd2cc066f7 (patch) | |
tree | 9384d9acf2e162f5bea6e09d7c739f527783091d /src/color.c | |
parent | cd4f7b60e7bba67d746bcf96b50208b66adf20fe (diff) | |
download | bfs-dd3d990aca9d10de6b70fb6b30f45bfd2cc066f7.tar.xz |
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
Diffstat (limited to 'src/color.c')
-rw-r--r-- | src/color.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |