diff options
author | Martin Polden <martin.polden@gmail.com> | 2014-06-13 15:55:41 +0200 |
---|---|---|
committer | Martin Polden <martin.polden@gmail.com> | 2014-06-13 15:55:41 +0200 |
commit | 8d097fbd34a8b4354ef81402fc7465c54dc39d83 (patch) | |
tree | 5d869c227f608d278acfd0e4030fff80c48ab390 /lisp/init-mac.el | |
parent | e74b88dbc96acc934277d52c6d3d08c23bebb059 (diff) |
Use GNU ls if available on darwin
Diffstat (limited to 'lisp/init-mac.el')
-rw-r--r-- | lisp/init-mac.el | 5 |
1 files changed, 5 insertions, 0 deletions
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) |