Skip to content

Commit 01cab59

Browse files
committed
tweak(dired-aux): add a rule to compress (!) to .tar file
1 parent 525fdfe commit 01cab59

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

core/me-builtin.el

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,9 @@ or file path may exist now."
284284
(use-package dired-aux
285285
:custom
286286
(dired-vc-rename-file t)
287-
(dired-create-destination-dirs 'ask))
287+
(dired-create-destination-dirs 'ask)
288+
:config
289+
(push '("\\.tar\\'" . "tar -cf %o %i") dired-compress-files-alist))
288290

289291
(use-package dired-x
290292
:hook (dired-mode . dired-omit-mode)

0 commit comments

Comments
 (0)