diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index 28d32a3..814bd4b 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -176,6 +176,12 @@ (add-hook 'python-mode-hook 'jedi:setup) (setq jedi:complete-on-dot t) +;;-------------------------------------------------------------------------------------- +;; Ensure Shell Variables Look the Same in Emacs (OS X and Linux) +;;-------------------------------------------------------------------------------------- + +(when (memq window-system '(mac ns x)) + (exec-path-from-shell-initialize)) ;;-------------------------------------------------------------------------------------- ;; Enable ParEdit for Emacs lisp modes diff --git a/dotfiles/emacs.d/package.el b/dotfiles/emacs.d/package.el index 578c4b7..798d7dc 100644 --- a/dotfiles/emacs.d/package.el +++ b/dotfiles/emacs.d/package.el @@ -41,6 +41,10 @@ ws-butler ;;;;;;;;;; + ;; Shell helpers + exec-path-from-shell + ;;;;;;;;;;;;;;;;;;;; + ;; Editing Utility autopair ;;;;;;;;;;;;;;;;;;