.zshrc: Remove pyenv

I'm sick of always wondering if there is an issue with my python
because of some pyenv issue, and not to mention I'm happy to get
rid of one more dynamic thing that needs to run on shell init.

Python 3.5+ seem to have pretty easy virtual environments so I will
just use those from now on, ie:

  $ python -m venv ~/ansible
  $ . ~/ansible/bin/activate
This commit is contained in:
Alan Orth 2017-05-30 18:02:14 +03:00
parent 627fac5ac5
commit 398ac9b06d
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
1 changed files with 0 additions and 14 deletions

14
.zshrc
View File

@ -65,20 +65,6 @@ export ANSIBLE_HOSTS=hosts
# Enable node version manager (nvm)
[[ -s ~/.nvm/nvm.sh ]] && . ~/.nvm/nvm.sh
# Enable pyenv
# See: https://github.com/yyuu/pyenv#basic-github-checkout
if [[ -d ~/.pyenv ]]; then
export PYENV_ROOT="$HOME/.pyenv"
PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
# optionally enable pyenv-virtualenv
# See: https://github.com/yyuu/pyenv-virtualenv
if [[ -d ~/.pyenv/plugins/pyenv-virtualenv ]]; then
eval "$(pyenv virtualenv-init -)"
fi
fi
# Initialize jenv if it exists
if [[ -d ~/.jenv ]]; then
export JENV_ROOT=~/.jenv