source virtualenv wrapper only if it exists

This commit is contained in:
viktorbarzin 2020-08-22 13:09:27 +01:00
parent 70b4be187f
commit 8e09267585
No known key found for this signature in database
GPG key ID: 0EB088298288D958

View file

@ -12,4 +12,6 @@ export VIRTUALENV_PYTHON=python3
export WORKON_HOME=$HOME/.virtualenvs
# export VIRTUALENV_PYTHON=python
source /home/viktor/.virtualenvwrapper.sh
if [ -f $HOME/.virtualenvwrapper.sh ]; then
source $HOME/.virtualenvwrapper.sh
fi