Merge pull request #1168 from ClassicOldSong/patch-1

Add support for pyenv-virtualenvwrapper
pull/1170/merge
Nils Winkler 2018-04-12 08:37:17 +02:00 committed by GitHub
commit e57e1a7f74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -1,9 +1,13 @@
# make sure virtualenvwrapper is enabled if available
cite about-plugin
about-plugin 'virtualenvwrapper helper functions'
about-plugin 'virtualenvwrapper and pyenv-virtualenvwrapper helper functions'
[[ `which virtualenvwrapper.sh` ]] && . virtualenvwrapper.sh
if _command_exists pyenv; then
pyenv virtualenvwrapper
else
[[ `which virtualenvwrapper.sh` ]] && . virtualenvwrapper.sh
fi
function mkvenv {