]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix guessing commands for zstandard archives in Dired
authorEli Zaretskii <eliz@gnu.org>
Wed, 25 Oct 2023 13:32:01 +0000 (16:32 +0300)
committerEli Zaretskii <eliz@gnu.org>
Wed, 25 Oct 2023 13:32:01 +0000 (16:32 +0300)
* lisp/dired-aux.el (dired-guess-shell-alist-default): Fix
zstdandard commands.  (Bug#66532)

lisp/dired-aux.el

index fc3f6f4f04deeadf680937ef208279f2780d83c3..3f803551f3893a7c917a8cabea16a718556e6ed0 100644 (file)
@@ -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")