Browse Source

Add shell variable helper to emacs

Taylor Bockman 5 years ago
parent
commit
99cd7318a2
  1. 6
      dotfiles/emacs.d/init.el
  2. 4
      dotfiles/emacs.d/package.el

6
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

4
dotfiles/emacs.d/package.el

@ -41,6 +41,10 @@
ws-butler
;;;;;;;;;;
;; Shell helpers
exec-path-from-shell
;;;;;;;;;;;;;;;;;;;;
;; Editing Utility
autopair
;;;;;;;;;;;;;;;;;;

Loading…
Cancel
Save