summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-dired.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/init-dired.el b/lisp/init-dired.el
index 4e3e967..2c00007 100644
--- a/lisp/init-dired.el
+++ b/lisp/init-dired.el
@@ -5,8 +5,7 @@
;; .git is present as part of `dired-omit-extensions', but this seems to
;; only be taken into account if a non-exension part exists.
(setq dired-omit-files
- (concat dired-omit-files "\\|\\.git$\\|\\.gitignore$\\|__pycache__"))
-
+ (concat dired-omit-files "\\|^\\.git$\\|^\\.gitignore$\\|^__pycache__$"))
(defvar km/latex-omit-extensions '(".aux"
".fdb_latexmk"
".fls"