spacemacs/contrib/osx/packages.el

23 lines
606 B
EmacsLisp
Raw Normal View History

(setq osx-packages
2015-02-07 04:35:46 +00:00
'(
pbcopy
reveal-in-finder
))
2015-02-07 04:35:46 +00:00
(if (and (system-is-mac) (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"))
2015-02-07 04:35:46 +00:00
(defun osx/init-pbcopy ()
(use-package pbcopy
:if (and (system-is-mac)(not (display-graphic-p)))
2015-02-08 04:27:50 +00:00
:init (turn-on-pbcopy)))
(defun osx/init-reveal-in-finder ()
(use-package reveal-in-finder
:if (system-is-mac)
:commands reveal-in-finder))