From: Stefan Kangas Date: Thu, 8 Sep 2022 00:48:46 +0000 (+0200) Subject: dired-guess: Support zstandard archives X-Git-Tag: emacs-29.0.90~1856^2~672 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cb036a79e2261569d900d6b78f283c441afd5b04;p=emacs.git dired-guess: Support zstandard archives * lisp/dired-aux.el (dired-guess-shell-alist-default): Support zstandard archives. --- diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index 0e8062af528..f870494e93e 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")