2015-04-19 03:40:24 +00:00
|
|
|
(setq osx-packages
|
2015-02-07 04:35:46 +00:00
|
|
|
'(
|
|
|
|
pbcopy
|
2015-06-03 08:26:40 +00:00
|
|
|
reveal-in-finder
|
2015-04-19 03:40:24 +00:00
|
|
|
))
|
2015-02-07 04:35:46 +00:00
|
|
|
|
2015-06-03 18:34:30 +00:00
|
|
|
(if (and (system-is-mac) (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"
|
2015-06-03 18:34:30 +00:00
|
|
|
dired-listing-switches "-aBhl --group-directories-first"))
|
2015-05-04 17:36:02 +00:00
|
|
|
|
2015-02-07 04:35:46 +00:00
|
|
|
(defun osx/init-pbcopy ()
|
|
|
|
(use-package pbcopy
|
2015-06-03 18:31:12 +00:00
|
|
|
:if (and (system-is-mac)(not (display-graphic-p)))
|
2015-02-08 04:27:50 +00:00
|
|
|
:init (turn-on-pbcopy)))
|
2015-06-03 08:26:40 +00:00
|
|
|
|
|
|
|
(defun osx/init-reveal-in-finder ()
|
|
|
|
(use-package reveal-in-finder
|
|
|
|
:if (system-is-mac)
|
|
|
|
:commands reveal-in-finder))
|