summary refs log tree commit diff
path: root/emacs.d/config/fcuny-darwin.el
blob: fbc95e7c5e12fa1c661249c0bc19a6081bbdcc24 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
(eval-when-compile
  (require 'use-package))

(use-package exec-path-from-shell
  :if (memq window-system '(mac ns))
  :ensure t
  :config
  (exec-path-from-shell-initialize)
  (if (fc/check-work-machine-p)
      (dolist (var '("GEM_HOME" "GEM_PATH" "MY_RUBY_HOME"))
        (unless (getenv var)
          (exec-path-from-shell-copy-env var)))))

(provide 'fcuny-darwin)