changeset 25409:d414a697a646

(dired-guess-shell-alist-default): Support bzip2 format.
author Karl Heuer <kwzh@gnu.org>
date Sat, 28 Aug 1999 15:16:55 +0000
parents 68c51b1a537f
children 3ab4413f7549
files lisp/dired-x.el
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/dired-x.el	Sat Aug 28 15:13:37 1999 +0000
+++ b/lisp/dired-x.el	Sat Aug 28 15:16:55 1999 +0000
@@ -957,6 +957,11 @@
             (concat "gunzip -qc * | tar xvf -"))
          ;; Optional decompression.
          '(concat "gunzip" (if dired-guess-shell-gzip-quiet " -q" "")))
+   ;; bzip2'ed archives
+   (list "\\.tar\\.bz2$"
+	 "bunzip2 -c * | tar xvf -"
+	 ;; Optional decompression.
+         "bunzip2")
 
    '("\\.shar.Z$" "zcat * | unshar")
    '("\\.shar.g?z$" "gunzip -qc * | unshar")
@@ -1003,6 +1008,7 @@
 
    ;; Compression.
    (list "\\.g?z$" '(concat "gunzip" (if dired-guess-shell-gzip-quiet " -q")))
+   (list "\\.bz2$" "bunzip2")
    (list "\\.Z$" "uncompress"
          ;; Optional conversion to gzip format.
          '(concat "znew" (if dired-guess-shell-gzip-quiet " -q")