summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2024-01-27 12:51:35 +0000
committerGrégoire Duchêne <gduchene@awhk.org>2024-01-27 12:51:35 +0000
commit6782782c1137ce1424633aaab1b16906df017677 (patch)
tree9087df758d9a7d2e41869387eb329501c5a40467
parent9ee06a14fbd565aca3e062c0ce13abbd1a2e1814 (diff)
emacs: Have Dired use unit suffixes
-rw-r--r--emacs/init.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index dc61a27..5ad7ba0 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -136,6 +136,10 @@
;; Dired
+(use-package dired
+ :defer t
+ :custom (dired-listing-switches (concat dired-listing-switches " -h")))
+
(put 'dired-find-alternate-file 'disabled nil)
(my/with-add-hook 'dired-mode-hook