Skip to content

Comment on How to add a directory to your PATH

Comments

But not if the shell is running as an inferior process in an emacs buffer, in which case you have to do yet another thing.

    (use-package exec-path-from-shell
      :demand t
      :config
      (exec-path-from-shell-initialize)
      (exec-path-from-shell-copy-env "PATH"))

Could you elaborate on the method ?

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.