coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] dircolors: update list of archive file extensions


From: Michel Lind
Subject: [PATCH] dircolors: update list of archive file extensions
Date: Fri, 16 Feb 2024 10:24:32 -0600

* src/dircolors.hin: Sort archive section by extension.
Treat .crate (Rust archives) as archive files.

Signed-off-by: Michel Lind <michel@michel-slm.name>
---
 src/dircolors.hin | 69 ++++++++++++++++++++++++-----------------------
 1 file changed, 35 insertions(+), 34 deletions(-)

diff --git a/src/dircolors.hin b/src/dircolors.hin
index 519c56693..c85c037a5 100644
--- a/src/dircolors.hin
+++ b/src/dircolors.hin
@@ -102,52 +102,53 @@ EXEC 01;32
 #.csh 01;32
 
 # archives or compressed (bright red)
-.tar 01;31
-.tgz 01;31
+.7z  01;31
+.ace 01;31
+.alz 01;31
 .arc 01;31
 .arj 01;31
-.taz 01;31
-.lha 01;31
-.lz4 01;31
-.lzh 01;31
-.lzma 01;31
-.tlz 01;31
-.txz 01;31
-.tzo 01;31
-.t7z 01;31
-.zip 01;31
-.z   01;31
+.bz  01;31
+.bz2 01;31
+.cab 01;31
+.cpio 01;31
+.crate 01;31
+.deb 01;31
+.dwm 01;31
 .dz  01;31
+.ear 01;31
+.esd 01;31
 .gz  01;31
+.jar 01;31
+.lha 01;31
 .lrz 01;31
 .lz  01;31
+.lz4 01;31
+.lzh 01;31
+.lzma 01;31
 .lzo 01;31
-.xz  01;31
-.zst 01;31
-.tzst 01;31
-.bz2 01;31
-.bz  01;31
+.rar 01;31
+.rpm 01;31
+.rz  01;31
+.sar 01;31
+.swm 01;31
+.t7z 01;31
+.tar 01;31
+.taz 01;31
 .tbz 01;31
 .tbz2 01;31
+.tgz 01;31
+.tlz 01;31
+.txz 01;31
 .tz  01;31
-.deb 01;31
-.rpm 01;31
-.jar 01;31
+.tzo 01;31
+.tzst 01;31
 .war 01;31
-.ear 01;31
-.sar 01;31
-.rar 01;31
-.alz 01;31
-.ace 01;31
-.zoo 01;31
-.cpio 01;31
-.7z  01;31
-.rz  01;31
-.cab 01;31
 .wim 01;31
-.swm 01;31
-.dwm 01;31
-.esd 01;31
+.xz  01;31
+.z   01;31
+.zip 01;31
+.zoo 01;31
+.zst 01;31
 
 # image formats
 .avif 01;35
-- 
2.43.0

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]