all repos — archive/dotfiles @ 310a79c57e10aa167f112769417b24d77e2a905f

Superseded by nixfiles

Emacs: Use human-readable file sizes in dired
Alan Pearce alan.pearce@spotcap.com
Wed, 13 May 2015 17:22:08 +0200
commit

310a79c57e10aa167f112769417b24d77e2a905f

parent

8d1bcef139287cce1ac35a7a8672d671aec8f9db

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -284,6 +284,7 @@ (bind-key "^" (lambda () (interactive) (find-alternate-file "..")) dired-mode-map)             (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