summaryrefslogtreecommitdiff
path: root/init/km-dired.el
blob: 30feff2cf95a8e42b3e411ad19df8c483dc8312e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
(put 'dired-find-alternate-file 'disabled nil)

(require 'dired-x)

;; .git is present as part of `dired-omit-extensions', but this
;; seems to only be taken into account if the a non-exension part
;; exists
(setq dired-omit-files (concat dired-omit-files "\\|\\.git$\\|__pycache__"))

(setq-default dired-omit-files-p t)

(setq dired-listing-switches "-alh")