1
0
鏡像自 https://github.com/dcarrillo/prezto.git 已同步 2026-01-05 06:27:06 +00:00

[python] Ensure availability of virtualenvwrapper file before sourcing it

此提交包含在:
Indrajit Raychaudhuri
2017-08-18 07:55:34 -05:00
父節點 cab4ac54ec
當前提交 5ffc8a07f1

查看文件

@@ -108,7 +108,10 @@ if (( $+VIRTUALENVWRAPPER_VIRTUALENV || $+commands[virtualenv] )) && \
${(@Ov)commands[(I)virtualenvwrapper(_lazy|).sh]}
/usr/share/virtualenvwrapper/virtualenvwrapper(_lazy|).sh(OnN)
)
source "${virtenv_sources[1]}"
if (( $#virtenv_sources )); then
source "${virtenv_sources[1]}"
fi
unset virtenv_sources
fi
fi