Skip to content

Instantly share code, notes, and snippets.

@stfp
Created Jan 27, 2011
Embed
What would you like to do?
virtualenvwrapperwrapper is like lazy initialization for virtualenvwrapper
#!/bin/sh
_veww () { source virtualenvwrapper.sh }
workon () { _veww; workon $@ }
mkvirtualenv () { _veww; mkvirtualenv $@ }
complete -o default -o nospace -F _veww workon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment