Add all pyenv versions to path

This commit is contained in:
John Mertz 2024-03-08 12:12:50 -07:00
parent 63d500bdd5
commit 4c8478f03e
1 changed files with 3 additions and 0 deletions

View File

@ -50,6 +50,9 @@ PATH="$PYENV_ROOT/bin:$PATH"
if command -v pyenv 1>/dev/null 2>&1; then
eval "$(pyenv init -)"
fi
for dir in `find ${HOME}/.pyenv/versions/* -maxdepth 0`; do
PATH="$PATH:${dir}/bin"
done
# Rust
PATH="${HOME}/.cargo/bin:$PATH"