From 52aeae2c3d967ce27e18ec32edd17eeaaf2ef357 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ville=20Skytt=C3=A4?= Date: Tue, 22 Mar 2022 20:24:27 +0200 Subject: [PATCH] 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 --- THANKS.in | 1 - src/dircolors.hin | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) 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. -- 2.47.2