summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2022-03-22 20:24:27 +0200
committerPádraig Brady <P@draigBrady.com>2022-04-03 20:59:38 +0100
commit52aeae2c3d967ce27e18ec32edd17eeaaf2ef357 (patch)
treefed027919c7e68fff819916233af51b56b7f83da
parent120ce321d5f768c00b9e193af4edd5ccceaa45e0 (diff)
downloadcoreutils-52aeae2c3d967ce27e18ec32edd17eeaaf2ef357.tar.gz
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
-rw-r--r--THANKS.in1
-rw-r--r--src/dircolors.hin19
2 files changed, 19 insertions, 1 deletions
diff --git a/THANKS.in b/THANKS.in
index 0424c22fb..311196a04 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 673835201..6dc5a2d74 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.