Conditionally add pyenv
This commit is contained in:
parent
a483490d91
commit
9293e5e494
1 changed files with 7 additions and 3 deletions
|
@ -4,9 +4,13 @@ export NVM_DIR="$HOME/.nvm"
|
|||
|
||||
eval $(thefuck --alias)
|
||||
|
||||
# export PATH="$HOME/.pyenv/bin:$PATH"
|
||||
# eval "$(pyenv init -)"
|
||||
# eval "$(pyenv virtualenv-init -)"
|
||||
if [ -s "$HOME/.pyenv/bin/pyenv" ];
|
||||
then
|
||||
export PATH="$HOME/.pyenv/bin:$PATH"
|
||||
eval "$(pyenv init -)"
|
||||
eval "$(pyenv virtualenv-init -)"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
# git aliases
|
||||
|
|
Loading…
Reference in a new issue