summary refs log tree commit diff
path: root/emacs.d/config/config-set-path.el
blob: a22416d6057ca0ca1d63337d33c2678df2c502b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
(paradox-require 'exec-path-from-shell)

(when (memq window-system '(x mac ns))
  (exec-path-from-shell-initialize)
  (dolist (var '("GEM_HOME" "GEM_PATH" "MY_RUBY_HOME"))
    (unless (getenv var)
      (exec-path-from-shell-copy-env var))))

(provide 'config-set-path)