We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a847a57 + 75d24b7 commit 83199deCopy full SHA for 83199de
virtualenvwrapper_lazy.sh
@@ -31,4 +31,14 @@ function $venvw_name {
31
done
32
}
33
34
+# Set up completion functions to virtualenvwrapper_load
35
+function virtualenvwrapper_setup_lazy_completion {
36
+ if [ -n "$BASH" ] ; then
37
+ complete -o nospace -F virtualenvwrapper_load $(echo ${_VIRTUALENVWRAPPER_API})
38
+ elif [ -n "$ZSH_VERSION" ] ; then
39
+ compctl -K virtualenvwrapper_load $(echo ${_VIRTUALENVWRAPPER_API})
40
+ fi
41
+}
42
+
43
virtualenvwrapper_setup_lazy_loader
44
+virtualenvwrapper_setup_lazy_completion
0 commit comments