diff options
author | Stefan Kangas <stefankangas@gmail.com> | 2022-09-08 02:48:46 +0200 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2022-09-08 02:48:46 +0200 |
commit | cb036a79e2261569d900d6b78f283c441afd5b04 (patch) | |
tree | c6a8b2faafabf4b934368bfcd6bcbde048c5f40d /lisp/dired-aux.el | |
parent | 5b87429d99bf99c0adde371a5ecfd2c745fc3489 (diff) | |
download | emacs-cb036a79e2261569d900d6b78f283c441afd5b04.tar.gz |
dired-guess: Support zstandard archives
* lisp/dired-aux.el (dired-guess-shell-alist-default): Support
zstandard archives.
Diffstat (limited to 'lisp/dired-aux.el')
-rw-r--r-- | lisp/dired-aux.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index 0e8062af528..f870494e93e 100644 --- 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") |