all repos — nixfiles @ f3542e5059d9f86e813997d97eed03c47d4ff3d4

System and user configuration, managed by nix and home-manager

Emacs: use coreutils' gls on OSX
Alan Pearce alan@alanpearce.co.uk
Fri, 06 Dec 2013 14:32:05 +0000
commit

f3542e5059d9f86e813997d97eed03c47d4ff3d4

parent

d3f52ca93be8e3e45e14d1ab388e93f148793206

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

jump to
M emacs/init.elemacs/init.el
@@ -348,6 +348,8 @@ (setq dired-dwim-target t                   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+