Remove ".." from dired-omit-files

This commit is contained in:
James Cherti
2025-02-18 12:14:49 -05:00
parent 66d7e98c15
commit fab5ebecaf
2 changed files with 6 additions and 5 deletions

View File

@@ -429,10 +429,9 @@
;; Disable the prompt about killing the Dired buffer for a deleted directory.
(setq dired-clean-confirm-killing-deleted-buffers nil)
;; Dired-omit
;; dired-omit-mode
(setq dired-omit-verbose nil)
(setq dired-omit-files (concat "\\`[.]?#\\|\\`[.][.]?\\'"
(setq dired-omit-files (concat "\\`[.]\\'"
"\\|\\(?:\\.js\\)?\\.meta\\'"
"\\|\\.\\(?:elc|a\\|o\\|pyc\\|pyo\\|swp\\|class\\)\\'"
"\\|^\\.DS_Store\\'"