Make dired use coreutils' gls, if installed

This commit is contained in:
Uri Sharf 2015-05-04 19:36:02 +02:00 committed by syl20bnr
parent e1d2cbd1c4
commit 0a21a28165

View file

@ -3,6 +3,13 @@
pbcopy
))
(if (executable-find "gls")
; maybe absolute or relative name of the `ls' program used by `insert-directory'.
; brew info coreutils
(setq insert-directory-program "gls"
dired-listing-switches "-aBhl --group-directories-first")
(setq dired-use-ls-dired nil))
(defun osx/init-pbcopy ()
(use-package pbcopy
:if (not (display-graphic-p))