Skip to content

Commit 6a8c168

Browse files
committed

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

virtualenvwrapper_lazy.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ function virtualenvwrapper_load {
1818
# We might get called multiple times, because not all of _VIRTUALENVWRAPPER_API gets
1919
# a real completion.
2020
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
21+
# NOTE: For Zsh, I have tried to unset any auto-load completion.
22+
# (via `compctl + $(echo ${_VIRTUALENVWRAPPER_API})`.
23+
# But this does not appear to work / triggers a crash.
24+
2525
source "$VIRTUALENVWRAPPER_SCRIPT"
2626
VIRTUALENVWRAPPER_LAZY_LOADED=1
2727
fi

0 commit comments

Comments
 (0)