emacs-exec-path-from-shell 1.12 Get environment variables such as PATH from the shell

This library allows the user to set Emacs exec-path and PATH from the shell PATH, so that shell-command, compile and the like work as expected on systems on which Emacs is not guaranteed to inherit a login shell's environment variables. It also allows other environment variables to be retrieved from the shell, so that Emacs will see the same values you get in a terminal.