mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-09 02:24:03 +01:00
replace virtualenvwrapper.sh with virtualenvwrapper_lazy.sh to speed shell load time
This commit is contained in:
parent
c2ae9e09ca
commit
113f070948
1 changed files with 1 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
WRAPPER_FOUND=0
|
WRAPPER_FOUND=0
|
||||||
for wrapsource in "/usr/bin/virtualenvwrapper.sh" "/usr/local/bin/virtualenvwrapper.sh" "/etc/bash_completion.d/virtualenvwrapper" ; do
|
for wrapsource in "/usr/bin/virtualenvwrapper_lazy.sh" "/usr/local/bin/virtualenvwrapper_lazy.sh" "/etc/bash_completion.d/virtualenvwrapper" ; do
|
||||||
if [[ -e $wrapsource ]] ; then
|
if [[ -e $wrapsource ]] ; then
|
||||||
WRAPPER_FOUND=1
|
WRAPPER_FOUND=1
|
||||||
source $wrapsource
|
source $wrapsource
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue