.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:
parent
627fac5ac5
commit
398ac9b06d
14
.zshrc
14
.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
|
||||
|
Loading…
Reference in New Issue
Block a user