diff options
author | JSDurand <mmemmew@gmail.com> | 2022-06-07 16:22:29 +0800 |
---|---|---|
committer | JSDurand <mmemmew@gmail.com> | 2022-06-07 16:22:29 +0800 |
commit | dec9d1162bd234381da0b37e1c9859dbfa5cc577 (patch) | |
tree | 117f5f4018a9e57853e7555078cde69e3b6a5392 /dired-conf.el | |
parent | db93f123cbe162d30b6a6204cf184ad20ec56a15 (diff) |
dired-conf: modify dired-garbage-files-regexp
* dired-conf.el (dired-garbage-files-regexp): Match some file
extensions which represent files that I do not need to keep around.
Diffstat (limited to 'dired-conf.el')
-rw-r--r-- | dired-conf.el | 7 |
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) |