From 6aab45bffc616efc938d7bcdb3a18c206f389a2c Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 23 Aug 2019 05:31:17 +0200 Subject: [PATCH] Make dired recognize .lz files * lisp/dired-aux.el (dired-compress-file-suffixes): Recognize .lz (lzip) compressed files (bug#37136). --- lisp/dired-aux.el | 1 + 1 file changed, 1 insertion(+) 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. -- 2.39.5