Conditionally add pyenv

This commit is contained in:
Jake Howard 2016-11-18 09:56:33 +00:00
parent a483490d91
commit 9293e5e494
No known key found for this signature in database
GPG key ID: 2B337871B1DAB2DA

View file

@ -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