emacsのシェルにターミナルの環境変数を継承させる
https://github.com/purcell/exec-path-from-shell
からexec-path-from-shell.el
をダウンロードし、
~/emacs.d/
にコピーする。
emacs.elに下記の内容を付け加える。
(require 'exec-path-from-shell) (when (memq window-system '(mac ns)) (exec-path-from-shell-initialize))