Check for pyenv before initialising
This commit is contained in:
parent
44346ef468
commit
1920de4a66
|
@ -1,6 +1,8 @@
|
|||
export PYENV_ROOT="$HOME/.pyenv"
|
||||
export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
eval "$(pyenv init --path)"
|
||||
command -v pyenv && {
|
||||
export PYENV_ROOT="$HOME/.pyenv"
|
||||
echo $PATH | grep -i pyenv > /dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
eval "$(pyenv init --path)"
|
||||
}
|
||||
|
||||
if [[ -e $HOME/.ssh/id_ed25519 ]]
|
||||
then
|
||||
|
|
Loading…
Reference in a new issue