Add support for pyenv-virtualenv

pull/1177/head
Yukino Song 2018-04-10 17:12:22 +08:00 committed by Piotr Rogoża
parent 260e1851ef
commit d79db3b7e3
1 changed files with 5 additions and 1 deletions

View File

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