From d5e5ea4e36bf1f31a06430f780445343f5932c33 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 25 Oct 2023 16:32:01 +0300 Subject: [PATCH] Fix guessing commands for zstandard archives in Dired * lisp/dired-aux.el (dired-guess-shell-alist-default): Fix zstdandard commands. (Bug#66532) --- lisp/dired-aux.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") -- 2.39.2