Skip to content

Commit 1f93c03

Browse files
committed
update history for previous change; fix syntax issue in previous change
Change-Id: Ia9842213c5a4fc86c9c36019f13c37c139da8965
1 parent f807667 commit 1f93c03

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

docs/source/history.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ dev
2323
command. (:bbissue:`203`)
2424
- Update the tests to use a valid template for creating temporary
2525
directories under Linux.
26+
- Fix the use of ``which`` in ``virtualenvwrapper_lazy.sh`` in case it
27+
is aliased.
28+
- Fix an issue with recursion in completion expansion crashing zsh,
29+
contributed by :bbuser:`blueyed`.
2630

2731
4.1.1
2832
=====

virtualenvwrapper_lazy.sh

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@ function virtualenvwrapper_load {
1717
# Only source the script once.
1818
# We might get called multiple times, because not all of _VIRTUALENVWRAPPER_API gets
1919
# a real completion.
20-
if [ -z $VIRTUALENVWRAPPER_LAZY_LOADED ]; then
21-
if [ -n "$ZSH_VERSION" ] ; then
22-
# Tried to unset any auto-load completion, does not appear to work/triggers a crash
23-
# compctl + $(echo ${_VIRTUALENVWRAPPER_API})
24-
fi
20+
if [ -z $VIRTUALENVWRAPPER_LAZY_LOADED ]
21+
then
22+
# if [ -n "$ZSH_VERSION" ]
23+
# then
24+
# # Tried to unset any auto-load completion, does not appear to work/triggers a crash
25+
# # compctl + $(echo ${_VIRTUALENVWRAPPER_API})
26+
# fi
2527
source "$VIRTUALENVWRAPPER_SCRIPT"
2628
VIRTUALENVWRAPPER_LAZY_LOADED=1
2729
fi

0 commit comments

Comments
 (0)