Commit 9cb762a
committed
Fix
`command \which` is used in virtualenvwrapper.sh, and it fixes an
infinite loop, because VIRTUALENVWRAPPER_SCRIPT is not being setup
correctly.
In my zsh setup:
% which virtualenvwrapper.sh
sh: suffix aliased to zsh-mime-handler
% command which virtualenvwrapper.sh
/usr/local/bin/virtualenvwrapper.sh
An alternative might be to use `which -p`, but that is probably zsh-only
(not portable).which with virtualenvwrapper_lazy.sh1 parent f0f0077 commit 9cb762a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments