From 398ac9b06d3b1b2ca91bfc0a7b723256e9fd6fd0 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Tue, 30 May 2017 18:02:14 +0300 Subject: [PATCH] .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 --- .zshrc | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/.zshrc b/.zshrc index 5ec6ada..d321760 100644 --- a/.zshrc +++ b/.zshrc @@ -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