Merge pull request #1168 from ClassicOldSong/patch-1
Add support for pyenv-virtualenvwrapper
This commit is contained in:
@@ -1,9 +1,13 @@
|
|||||||
# make sure virtualenvwrapper is enabled if available
|
# make sure virtualenvwrapper is enabled if available
|
||||||
|
|
||||||
cite about-plugin
|
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 {
|
function mkvenv {
|
||||||
|
|||||||
Reference in New Issue
Block a user