projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b87429
)
dired-guess: Support zstandard archives
author
Stefan Kangas
<stefankangas@gmail.com>
Thu, 8 Sep 2022 00:48:46 +0000
(
02:48
+0200)
committer
Stefan Kangas
<stefankangas@gmail.com>
Thu, 8 Sep 2022 00:48:46 +0000
(
02:48
+0200)
* lisp/dired-aux.el (dired-guess-shell-alist-default): Support
zstandard archives.
lisp/dired-aux.el
patch
|
blob
|
history
diff --git
a/lisp/dired-aux.el
b/lisp/dired-aux.el
index 0e8062af528cbe8a37b6c17b7fdb644a37a2f7f8..f870494e93edb98f5d48cbda3ee20fef7f4aef52 100644
(file)
--- 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")