Pyenv path declared before being added to PATH
This commit is contained in:
parent
83a462ec6c
commit
58addc1a0b
|
@ -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"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue