summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dired-conf.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/dired-conf.el b/dired-conf.el
index c29c937..512ee3a 100644
--- a/dired-conf.el
+++ b/dired-conf.el
@@ -41,6 +41,13 @@
(add-hook 'dired-mode-hook #'hl-line-mode)
+(require 'rx)
+
+(setq dired-garbage-files-regexp (rx (or "aux" "bak" "dvi" "log"
+ "orig" "rej" "toc" "out"
+ "nav" "snm")
+ eos))
+
(require 'dired-aux)
(setq dired-isearch-filenames 'dwim)