dired-guess: Support zstandard archives

* lisp/dired-aux.el (dired-guess-shell-alist-default): Support
zstandard archives.
This commit is contained in:
Stefan Kangas 2022-09-08 02:48:46 +02:00
parent 5b87429d99
commit cb036a79e2

View file

@ -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")