Manage additional environment variables? #3476
-
|
It would be nice if I have tried using |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
It is possible to add specific envvars into a launched program's environment (and run other arbitrary code before E.g., to run code in
if [[ -e $PYENV_ROOT/$PYENV_VERSION.env ]]; then
source "$PYENV_ROOT/$PYENV_VERSION.env"
fi |
Beta Was this translation helpful? Give feedback.
It is possible to add specific envvars into a launched program's environment (and run other arbitrary code before
exec'ing into it) with a plugin that runs a hook atpyenv exec.E.g., to run code in
$(pyenv root)/<environment>.envif it exists:$(pyenv root)/plugins/pyenv-env/etc/pyenv.d/exec/set-env.bash: