spacemacs/contrib/osx/packages.el

17 lines
437 B
EmacsLisp

(setq osx-packages
'(
pbcopy
))
(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"))
(defun osx/init-pbcopy ()
(use-package pbcopy
:if (not (display-graphic-p))
:init (turn-on-pbcopy)))