From: Lars Ingebrigtsen Date: Fri, 23 Aug 2019 03:31:17 +0000 (+0200) Subject: Make dired recognize .lz files X-Git-Tag: emacs-27.0.90~1328^2~120 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6aab45bffc616efc938d7bcdb3a18c206f389a2c;p=emacs.git Make dired recognize .lz files * lisp/dired-aux.el (dired-compress-file-suffixes): Recognize .lz (lzip) compressed files (bug#37136). --- diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index 6c06d841e7d..a321247b0b6 100644 --- a/lisp/dired-aux.el +++ b/lisp/dired-aux.el @@ -992,6 +992,7 @@ command with a prefix argument (the value does not matter)." ("\\.tar\\.gz\\'" "" "gzip -dc %i | tar -xf -") ("\\.tgz\\'" "" "gzip -dc %i | tar -xf -") ("\\.gz\\'" "" "gunzip") + ("\\.lz\\'" "" "lzip -d") ("\\.Z\\'" "" "uncompress") ;; For .z, try gunzip. It might be an old gzip file, ;; or it might be from compact? pack? (which?) but gunzip handles both.