This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/contrib/osx/packages.el

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