From: Eli Zaretskii Date: Wed, 25 Oct 2023 13:32:01 +0000 (+0300) Subject: Fix guessing commands for zstandard archives in Dired X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d5e5ea4e36bf1f31a06430f780445343f5932c33;p=emacs.git Fix guessing commands for zstandard archives in Dired * lisp/dired-aux.el (dired-guess-shell-alist-default): Fix zstdandard commands. (Bug#66532) --- diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index fc3f6f4f04d..3f803551f38 100644 --- a/lisp/dired-aux.el +++ b/lisp/dired-aux.el @@ -1172,7 +1172,7 @@ Return the result of `process-file' - zero for success." "unxz") ;; zstandard archives - `(,(rx (or ".tar.zst" ".tzst") eos) "unzstd -c %i | tar -xf -") + `(,(rx (or ".tar.zst" ".tzst") eos) "unzstd -c ? | tar -xf -") `(,(rx ".zst" eos) "unzstd --rm") '("\\.shar\\.Z\\'" "zcat * | unshar")