File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 2
2
Release History
3
3
===============
4
4
5
+ dev
6
+
7
+ - Improve tab-completion support for users of the lazy-loading
8
+ mode. (:bbuser: `upsuper `)
9
+
5
10
3.6.1
6
11
7
12
- Replace realpath with a more portable way of converting a relative
Original file line number Diff line number Diff line change @@ -31,4 +31,14 @@ function $venvw_name {
31
31
done
32
32
}
33
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
+
34
43
virtualenvwrapper_setup_lazy_loader
44
+ virtualenvwrapper_setup_lazy_completion
You can’t perform that action at this time.
0 commit comments