summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-07-11 00:13:00 -0400
committerKyle Meyer <kyle@kyleam.com>2014-07-11 00:13:00 -0400
commit84e161a86c4fab07811ba2076366dc8d7fac4238 (patch)
treeb77472d99f61797530eb2e1af2efb1dae531a732 /lisp
parent258b6ddea1054fa93b5833419e9ebbb16f1572f6 (diff)
downloademacs.d-84e161a86c4fab07811ba2076366dc8d7fac4238.tar.gz
dired-omit-files: Anchor patterns on both ends
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"