2015-04-19 03:40:24 +00:00
|
|
|
(setq osx-packages
|
2015-02-07 04:35:46 +00:00
|
|
|
'(
|
|
|
|
pbcopy
|
2015-04-19 03:40:24 +00:00
|
|
|
))
|
2015-02-07 04:35:46 +00:00
|
|
|
|
2015-05-04 17:36:02 +00:00
|
|
|
(if (executable-find "gls")
|
2015-05-10 05:15:00 +00:00
|
|
|
;; maybe absolute or relative name of the `ls' program used by
|
|
|
|
;; `insert-directory'.
|
|
|
|
;; brew info coreutils
|
2015-05-04 17:36:02 +00:00
|
|
|
(setq insert-directory-program "gls"
|
|
|
|
dired-listing-switches "-aBhl --group-directories-first")
|
|
|
|
(setq dired-use-ls-dired nil))
|
|
|
|
|
2015-02-07 04:35:46 +00:00
|
|
|
(defun osx/init-pbcopy ()
|
|
|
|
(use-package pbcopy
|
2015-02-08 04:27:50 +00:00
|
|
|
:if (not (display-graphic-p))
|
|
|
|
:init (turn-on-pbcopy)))
|