From 8d097fbd34a8b4354ef81402fc7465c54dc39d83 Mon Sep 17 00:00:00 2001 From: Martin Polden Date: Fri, 13 Jun 2014 15:55:41 +0200 Subject: Use GNU ls if available on darwin --- lisp/init-mac.el | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lisp/init-mac.el') diff --git a/lisp/init-mac.el b/lisp/init-mac.el index b600e53..bebe4fc 100644 --- a/lisp/init-mac.el +++ b/lisp/init-mac.el @@ -32,4 +32,9 @@ ;; add binding for toggling fullscreen (global-set-key (kbd "M-RET") 'toggle-frame-fullscreen) +;; use gls if available (which supports --dired option) +(let ((gls "/usr/local/bin/gls")) + (when (file-executable-p gls) + (setq insert-directory-program gls))) + (provide 'init-mac) -- cgit v1.2.3