ignore pyenv setup if pyenv not installed
parent
c626220967
commit
4821c4881a
|
@ -14,6 +14,8 @@ alias pipi="pipx install"
|
|||
alias pipl="pipx list"
|
||||
alias piplv="pipx list --verbose"
|
||||
|
||||
if command -v pyenv >/dev/null 2>&1; then
|
||||
|
||||
# pyenv environment
|
||||
path_append "/opt/python/bin"
|
||||
|
||||
|
@ -29,6 +31,7 @@ path_append "/opt/python/apps/bin"
|
|||
export PIPX_HOME=/opt/python/apps
|
||||
export PIPX_BIN_DIR=$PIPX_HOME/bin
|
||||
|
||||
fi
|
||||
|
||||
spipua () {
|
||||
module_load confirm
|
||||
|
|
Reference in New Issue