Add support for pyenv-virtualenv
parent
260e1851ef
commit
d79db3b7e3
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue