Add all pyenv versions to path
This commit is contained in:
parent
63d500bdd5
commit
4c8478f03e
|
@ -50,6 +50,9 @@ PATH="$PYENV_ROOT/bin:$PATH"
|
||||||
if command -v pyenv 1>/dev/null 2>&1; then
|
if command -v pyenv 1>/dev/null 2>&1; then
|
||||||
eval "$(pyenv init -)"
|
eval "$(pyenv init -)"
|
||||||
fi
|
fi
|
||||||
|
for dir in `find ${HOME}/.pyenv/versions/* -maxdepth 0`; do
|
||||||
|
PATH="$PATH:${dir}/bin"
|
||||||
|
done
|
||||||
|
|
||||||
# Rust
|
# Rust
|
||||||
PATH="${HOME}/.cargo/bin:$PATH"
|
PATH="${HOME}/.cargo/bin:$PATH"
|
||||||
|
|
Loading…
Reference in New Issue