New :env setting for pulling shell envvars into MacOS sessions
:env lets you specify what environment variables exec-path-from-shell should pull in from your shell environment at startup. As such, these need to be defined at startup. :env is useless post-init. May address #433
This commit is contained in:
parent
48e605a7ca
commit
a9cbfc7f4e
3 changed files with 7 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
|||
;;; lang/python/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
(set! :env "PYTHONPATH" "PYENV_ROOT")
|
||||
|
||||
(defvar +python-pyenv-root nil
|
||||
"The path to pyenv's root directory. This is automatically set when `python'
|
||||
is loaded.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue