Revert "Added pyenv-virtualenv plugin"

This commit is contained in:
Omer Katz
2014-12-14 09:52:27 +02:00
parent d736133f57
commit abb0167ffa
3 changed files with 8 additions and 65 deletions

View File

@@ -1,10 +1,14 @@
cite about-plugin
about-plugin 'load pyenv, if you are using it'
export PYENV_PATH=`which pyenv`
export PATH="$PYENV_PATH:$PATH"
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
[[ `which pyenv` ]] && eval "$(pyenv init -)"
#Load pyenv virtualenv if the virtualenv plugin is installed.
if pyenv virtualenv-init - &> /dev/null; then
eval "$(pyenv virtualenv-init -)"
fi
# Load the auto-completion script if pyenv was loaded.
[[ -e $PYENV_ROOT/completions/pyenv.bash ]] && source $PYENV_ROOT/completions/pyenv.bash