bash: add env vars for pyenv and rustup

This commit is contained in:
Andrew Scott 2024-08-20 17:36:59 -04:00
parent 2a4410ef76
commit 94e0ee773e
Signed by: a
GPG key ID: 7CD5A5977E4931C1

View file

@ -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"