Add support for pyenv-virtualenv

pull/1168/head
Yukino Song 2018-04-10 17:12:22 +08:00 committed by GitHub
parent 260e1851ef
commit 0b73975d04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -3,7 +3,11 @@
cite about-plugin
about-plugin 'virtualenvwrapper helper functions'
if [[ `command -v pyenv` ]]; then
pyenv virtualenvwrapper
else
[[ `which virtualenvwrapper.sh` ]] && . virtualenvwrapper.sh
fi
function mkvenv {