fix(dired): dired-omit-files additions
- escape initial `.` - use only noncapturing groups
This commit is contained in:
parent
a08ec4ab16
commit
b3b875e226
1 changed files with 4 additions and 4 deletions
|
@ -157,10 +157,10 @@ we have to clean it up ourselves."
|
||||||
(setq dired-omit-verbose nil
|
(setq dired-omit-verbose nil
|
||||||
dired-omit-files
|
dired-omit-files
|
||||||
(concat dired-omit-files
|
(concat dired-omit-files
|
||||||
"\\|^.DS_Store\\'"
|
"\\|^\\.DS_Store\\'"
|
||||||
"\\|^.project\\(?:ile\\)?\\'"
|
"\\|^\\.project\\(?:ile\\)?\\'"
|
||||||
"\\|^.\\(svn\\|git\\)\\'"
|
"\\|^\\.\\(?:svn\\|git\\)\\'"
|
||||||
"\\|^.ccls-cache\\'"
|
"\\|^\\.ccls-cache\\'"
|
||||||
"\\|\\(?:\\.js\\)?\\.meta\\'"
|
"\\|\\(?:\\.js\\)?\\.meta\\'"
|
||||||
"\\|\\.\\(?:elc\\|o\\|pyo\\|swp\\|class\\)\\'"))
|
"\\|\\.\\(?:elc\\|o\\|pyo\\|swp\\|class\\)\\'"))
|
||||||
;; Disable the prompt about whether I want to kill the Dired buffer for a
|
;; Disable the prompt about whether I want to kill the Dired buffer for a
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue