summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2015-05-13 17:22:08 +0200
committerAlan Pearce2015-05-13 17:22:08 +0200
commit310a79c57e10aa167f112769417b24d77e2a905f (patch)
tree0561ec43bb7113d52a3d70251953714749224756 /tag-emacs
parent8d1bcef139287cce1ac35a7a8672d671aec8f9db (diff)
downloaddotfiles-310a79c57e10aa167f112769417b24d77e2a905f.tar.lz
dotfiles-310a79c57e10aa167f112769417b24d77e2a905f.tar.zst
dotfiles-310a79c57e10aa167f112769417b24d77e2a905f.zip
Emacs: Use human-readable file sizes in dired
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 3022c96..0c3f60a 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -284,6 +284,7 @@
             (setq dired-dwim-target t
                   dired-recursive-copies 'top
                   dired-recursive-deletes 'top
+                  dired-listing-switches "-alh"
                   dired-bind-jump nil)
             (when (and (eq system-type 'darwin) (executable-find "gls"))
               (setq insert-directory-program (executable-find "gls")))
@@ -292,6 +293,7 @@
 (req-package dired-k
   :init (progn
           (add-hook 'dired-initial-position-hook #'dired-k)
+          (setq dired-k-human-readable t)
           (bind-key "g" #'dired-k dired-mode-map)))
 
 (req-package dired-x