replace pythonz with pyenv
This commit is contained in:
parent
83361f9201
commit
a3f5a15e4d
1 changed files with 6 additions and 8 deletions
|
@ -2,14 +2,12 @@
|
|||
# PYTHON
|
||||
# -------------------------------------------------------------
|
||||
|
||||
[[ -s $HOME/.pythonz/etc/bashrc ]] && source $HOME/.pythonz/etc/bashrc
|
||||
|
||||
if [ -f "$HOME/.pythonz/pythons/CPython-3.9.9/bin/python" ]; then
|
||||
export PATH="$HOME/.pythonz/pythons/CPython-3.9.9/bin:$PATH"
|
||||
fi
|
||||
|
||||
if [ -f "$HOME/.pythonz/pythons/CPython-3.9.9/bin/pew" ]; then
|
||||
source "$(pew shell_config)"
|
||||
# pyenv
|
||||
if [ -d "$HOME/.pyenv" ]; then
|
||||
export PYENV_ROOT="$HOME/.pyenv"
|
||||
export PATH="$PYENV_ROOT/bin:$PATH" # if `pyenv` is not already on PATH
|
||||
eval "$(pyenv init --path)"
|
||||
eval "$(pyenv init -)"
|
||||
fi
|
||||
|
||||
if [ -d "$HOME/.poetry/bin" ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue