virtualenvwrapper: Only load when available

Only load the `virtualenvwrapper` when it is available.
This commit is contained in:
finga 2023-06-21 09:03:09 +02:00
parent 6474b5f18c
commit 3a4053e2e2

5
.zshrc
View file

@ -60,3 +60,8 @@ export GPG_TTY
if [ -e "/usr/share/doc/fzf/examples/key-bindings.zsh" ] ; then if [ -e "/usr/share/doc/fzf/examples/key-bindings.zsh" ] ; then
. /usr/share/doc/fzf/examples/key-bindings.zsh . /usr/share/doc/fzf/examples/key-bindings.zsh
fi fi
# source virtualenvwrapper
if [ -e "/usr/share/virtualenvwrapper/virtualenvwrapper_lazy.sh" ] ; then
. /usr/share/virtualenvwrapper/virtualenvwrapper_lazy.sh
fi