[1]PSA: Importing the OS X Path into Emacs:

    The [2]exec-path-from-shell package is a must-have for the OS X
    Emacs user. Before I found it, I could never get the search path for
    Emacs configured correctly. Once I installed it, all those problems
    disappeared and I haven't thought about them since. Really; if
    you're using Emacs on a Mac, you need this.

  (Via [3]Emacs - Irreal)

  Here's the recipe from my config:
(when (memq window-system '(mac ns))
(use-package exec-path-from-shell
 :ensure t
 :config
 (exec-path-from-shell-initialize)
 ) )

  Since I use the same config on multiple OSes the opening line makes
  sure it only installs on a OS X/macOS host.
    __________________________________________________________________

  My original entry is here: [4]PSA: Importing the OS X Path into Emacs.
  It posted Wed, 20 Dec 2017 05:44:37 +0000.
  Filed under: emacs,

References

  1. http://irreal.org/blog/?p=6830
  2. https://melpa.org/#/exec-path-from-shell
  3. http://irreal.org/blog
  4. https://www.prjorgensen.com/?p=767