Version 2.2 of package Exec-Path-From-Shell has just been released in NonGNU ELPA. You can now find it in M-x list-packages RET.
Exec-Path-From-Shell describes itself as: ====================================================== Get environment variables such as $PATH from the shell ====================================================== More at https://elpa.nongnu.org/nongnu/exec-path-from-shell.html ## Summary: On OS X (and perhaps elsewhere) the $PATH environment variable and `exec-path' used by a windowed Emacs instance will usually be the system-wide default path, rather than that seen in a terminal window. 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. 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. If you use a non-POSIX-standard shell like "tcsh" or "fish", your shell will be asked to execute "sh" as a subshell in order to print out the variables in a format which can be reliably parsed. "sh" must be a POSIX-compliant shell in this case. Note that shell variables which have not been exported as ## Recent NEWS: [Not provided 🙁]