From 94e0ee773edce4d7d067ff5df2bcc91e561b4181 Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Tue, 20 Aug 2024 17:36:59 -0400 Subject: [PATCH] bash: add env vars for pyenv and rustup --- dot_bash_profile.tmpl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dot_bash_profile.tmpl b/dot_bash_profile.tmpl index 2e686c6..ab4f353 100644 --- a/dot_bash_profile.tmpl +++ b/dot_bash_profile.tmpl @@ -61,6 +61,12 @@ export NPM_CONFIG_USERCONFIG="${XDG_CONFIG_HOME}/npm/npmrc" export PYTHONSTARTUP="${XDG_CONFIG_HOME}/python/pythonrc" export PYTHONPYCACHEPREFIX="${XDG_CACHE_HOME}/python" export PYTHONUSERBASE="${XDG_DATA_HOME}/python" +export PYENV_ROOT="${XDG_DATA_HOME}/pyenv" +[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH" +eval "$(pyenv init -)" + +# rust +export RUSTUP_HOME="${XDG_DATA_HOME}/rustup" # wine export WINEPREFIX="${XDG_DATA_HOME}/wine"