diff options
Diffstat (limited to '')
-rw-r--r-- | emacs.d/config/fcuny-darwin.el | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/emacs.d/config/fcuny-darwin.el b/emacs.d/config/fcuny-darwin.el new file mode 100644 index 0000000..fbc95e7 --- /dev/null +++ b/emacs.d/config/fcuny-darwin.el @@ -0,0 +1,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) |