Skip to content

Commit 01dfa80

Browse files
committed
tweak(dired-aux): add a rule to compress to .tgz file
1 parent 01cab59 commit 01dfa80

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/me-builtin.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ or file path may exist now."
286286
(dired-vc-rename-file t)
287287
(dired-create-destination-dirs 'ask)
288288
:config
289+
(push '("\\.tgz\\'" . "tar -cf - %i | gzip -c9 > %o") dired-compress-files-alist)
289290
(push '("\\.tar\\'" . "tar -cf %o %i") dired-compress-files-alist))
290291

291292
(use-package dired-x

0 commit comments

Comments
 (0)