emacs-diffs
[Top][All Lists]
Advanced

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

master cb036a79e2: dired-guess: Support zstandard archives


From: Stefan Kangas
Subject: master cb036a79e2: dired-guess: Support zstandard archives
Date: Wed, 7 Sep 2022 20:49:02 -0400 (EDT)

branch: master
commit cb036a79e2261569d900d6b78f283c441afd5b04
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>

    dired-guess: Support zstandard archives
    
    * lisp/dired-aux.el (dired-guess-shell-alist-default): Support
    zstandard archives.
---
 lisp/dired-aux.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index 0e8062af52..f870494e93 100644
--- a/lisp/dired-aux.el
+++ b/lisp/dired-aux.el
@@ -1169,6 +1169,10 @@ Return the result of `process-file' - zero for success."
          ;; Optional decompression.
          "unxz")
 
+   ;; zstandard archives
+   `(,(rx (or ".tar.zst" ".tzst") eos) "unzstd -c %i | tar -xf -")
+   `(,(rx ".zst" eos)                  "unzstd --rm")
+
    '("\\.shar\\.Z\\'" "zcat * | unshar")
    '("\\.shar\\.g?z\\'" "gunzip -qc * | unshar")
 



reply via email to

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