From: Ville Skyttä Date: Tue, 22 Mar 2022 18:24:27 +0000 (+0200) Subject: dircolors: colorize backup files with bright black X-Git-Tag: v9.1~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52aeae2c3d967ce27e18ec32edd17eeaaf2ef357;p=thirdparty%2Fcoreutils.git dircolors: colorize backup files with bright black * src/dircolors.hin: Add patterns for suffixes for "backup files". The color used is so they stand out less than non-backup files, and bright black works well on both light and dark backgrounds. * THANKS.in: Remove duplicate. Fixes https://bugs.gnu.org/54521 --- diff --git a/THANKS.in b/THANKS.in index 0424c22fb8..311196a046 100644 --- a/THANKS.in +++ b/THANKS.in @@ -641,7 +641,6 @@ Ulrich Hermisson ulrich_hermisson@hotmail.com Urs Thuermann urs@isnogud.escape.de Uwe H. Steinfeld usteinfeld@gmx.net Vesselin Atanasov vesselin@bgnet.bg -Ville Skyttä ville.skytta@iki.fi Vin Shelton acs@alumni.princeton.edu Vineet Chadha chadha@acis.ufl.edu Vitali Lovich vlovich@gmail.com diff --git a/src/dircolors.hin b/src/dircolors.hin index 6738352013..6dc5a2d741 100644 --- a/src/dircolors.hin +++ b/src/dircolors.hin @@ -211,5 +211,24 @@ EXEC 01;32 .spx 00;36 .xspf 00;36 +# backup files +*~ 00;90 +*# 00;90 +.bak 00;90 +.old 00;90 +.orig 00;90 +.part 00;90 +.rej 00;90 +.swp 00;90 +.tmp 00;90 +.dpkg-dist 00;90 +.dpkg-old 00;90 +.ucf-dist 00;90 +.ucf-new 00;90 +.ucf-old 00;90 +.rpmnew 00;90 +.rpmorig 00;90 +.rpmsave 00;90 + # Subsequent TERM or COLORTERM entries, can be used to add / override # config specific to those matching environment variables.