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
Uri Sharf 1178e18f05 Refine system and feature detection
Conflicts:
	contrib/osx/keybindings.el
2015-06-08 00:13:16 -04:00

22 lines
606 B
EmacsLisp

(setq osx-packages
'(
pbcopy
reveal-in-finder
))
(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 (and (system-is-mac)(not (display-graphic-p)))
:init (turn-on-pbcopy)))
(defun osx/init-reveal-in-finder ()
(use-package reveal-in-finder
:if (system-is-mac)
:commands reveal-in-finder))