The zstd compression tools are up and coming. This change teaches
dircolors (and hence ls --color) about its suffixes.
From 3651aa44164855c7afba144fea80a6bdff817157 Mon Sep 17 00:00:00 2001
From: Jim Meyering <[email protected]>
Date: Wed, 27 Jul 2016 09:30:02 -0700
Subject: [PATCH] dircolors: recognize .zst and .tzst suffixes

* src/dircolors.hin: Add .zst and .tzst suffixes for the
Zstandard/zstd compression tools.  See http://zStd.net.
---
 src/dircolors.hin | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/dircolors.hin b/src/dircolors.hin
index 4fb1f04..0be7988 100644
--- a/src/dircolors.hin
+++ b/src/dircolors.hin
@@ -105,6 +105,8 @@ EXEC 01;32
 .lz  01;31
 .lzo 01;31
 .xz  01;31
+.zst 01;31
+.tzst 01;31
 .bz2 01;31
 .bz  01;31
 .tbz 01;31
-- 
2.8.0-rc2

Reply via email to