fix(dired): dired-omit-files additions

- escape initial `.`
- use only noncapturing groups
This commit is contained in:
Itai Y. Efrat 2021-10-23 15:01:55 +03:00 committed by Henrik Lissner
parent a08ec4ab16
commit b3b875e226

View file

@ -157,10 +157,10 @@ we have to clean it up ourselves."
(setq dired-omit-verbose nil
dired-omit-files
(concat dired-omit-files
"\\|^.DS_Store\\'"
"\\|^.project\\(?:ile\\)?\\'"
"\\|^.\\(svn\\|git\\)\\'"
"\\|^.ccls-cache\\'"
"\\|^\\.DS_Store\\'"
"\\|^\\.project\\(?:ile\\)?\\'"
"\\|^\\.\\(?:svn\\|git\\)\\'"
"\\|^\\.ccls-cache\\'"
"\\|\\(?:\\.js\\)?\\.meta\\'"
"\\|\\.\\(?:elc\\|o\\|pyo\\|swp\\|class\\)\\'"))
;; Disable the prompt about whether I want to kill the Dired buffer for a