(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)))