summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2013-12-06 14:32:05 +0000
committerAlan Pearce2013-12-06 14:32:05 +0000
commitf3542e5059d9f86e813997d97eed03c47d4ff3d4 (patch)
tree14607c69416fadf2e51d1304bf18ae6796550004
parentd3f52ca93be8e3e45e14d1ab388e93f148793206 (diff)
downloadnixfiles-f3542e5059d9f86e813997d97eed03c47d4ff3d4.tar.lz
nixfiles-f3542e5059d9f86e813997d97eed03c47d4ff3d4.tar.zst
nixfiles-f3542e5059d9f86e813997d97eed03c47d4ff3d4.zip
Emacs: use coreutils' gls on OSX
-rw-r--r--emacs/init.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index f0d31d3e..72f1e4db 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -348,6 +348,8 @@ Values: `desktop', `server', `laptop'")
                   dired-recursive-copies 'top
                   dired-recursive-deletes 'top
                   dired-bind-jump nil)
+            (when (eq system-type 'darwin)
+              (setq insert-directory-program "/usr/local/bin/gls"))
             (put 'dired-find-alternate-file 'disabled nil)))
 
 (use-package dired+