]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
dircolors: update list of archive file extensions
authorMichel Lind <michel@michel-slm.name>
Fri, 16 Feb 2024 16:24:32 +0000 (10:24 -0600)
committerPádraig Brady <P@draigBrady.com>
Mon, 19 Feb 2024 14:37:22 +0000 (14:37 +0000)
* src/dircolors.hin: Sort archive section by extension.
Treat .crate (Rust archives) as archive files
(they're essentially tar.gz files).

src/dircolors.hin

index 519c56693a9d360b5a9958f8270a4f56091e6f8a..c85c037a5db5fd34b15223eb4d2190923994de69 100644 (file)
@@ -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