replace pythonz with pyenv

main
Yax 3 years ago
parent 83361f9201
commit a3f5a15e4d

@ -2,14 +2,12 @@
# PYTHON # PYTHON
# ------------------------------------------------------------- # -------------------------------------------------------------
[[ -s $HOME/.pythonz/etc/bashrc ]] && source $HOME/.pythonz/etc/bashrc # pyenv
if [ -d "$HOME/.pyenv" ]; then
if [ -f "$HOME/.pythonz/pythons/CPython-3.9.9/bin/python" ]; then export PYENV_ROOT="$HOME/.pyenv"
export PATH="$HOME/.pythonz/pythons/CPython-3.9.9/bin:$PATH" export PATH="$PYENV_ROOT/bin:$PATH" # if `pyenv` is not already on PATH
fi eval "$(pyenv init --path)"
eval "$(pyenv init -)"
if [ -f "$HOME/.pythonz/pythons/CPython-3.9.9/bin/pew" ]; then
source "$(pew shell_config)"
fi fi
if [ -d "$HOME/.poetry/bin" ]; then if [ -d "$HOME/.poetry/bin" ]; then

Loading…
Cancel
Save