Make dired use coreutils' gls, if installed
This commit is contained in:
parent
e1d2cbd1c4
commit
0a21a28165
|
@ -3,6 +3,13 @@
|
||||||
pbcopy
|
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 ()
|
(defun osx/init-pbcopy ()
|
||||||
(use-package pbcopy
|
(use-package pbcopy
|
||||||
:if (not (display-graphic-p))
|
:if (not (display-graphic-p))
|
||||||
|
|
Loading…
Reference in a new issue