Pyenv path declared before being added to PATH

This commit is contained in:
John Mertz 2022-12-15 21:51:15 -05:00
parent 83a462ec6c
commit 58addc1a0b
1 changed files with 2 additions and 1 deletions

View File

@ -22,11 +22,12 @@ fi
# Flutter # Flutter
PATH="$HOME/flutter/bin/:$PATH" PATH="$HOME/flutter/bin/:$PATH"
# Python # Python
PATH="$PYENV_ROOT/bin:$PATH"
export PYENV_ROOT="$HOME/.pyenv" export PYENV_ROOT="$HOME/.pyenv"
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
# Perl # Perl
PATH="${HOME}/perl5/bin:$PATH" PATH="${HOME}/perl5/bin:$PATH"