1
0
Fork 0

Don't source virtualenvwrapper if it's not there

This commit is contained in:
Jeremy Kaplan 2016-06-07 16:54:27 -04:00
commit 50b1028ad3

View file

@ -3,8 +3,10 @@ export PATH=$PATH:$HOME/bin
export EDITOR='emacs' export EDITOR='emacs'
export VISUAL=$EDITOR export VISUAL=$EDITOR
export WORKON_HOME=$HOME/.virtualenvs if [[ -a /usr/bin/virtualenvwrapper.sh ]]; then
source /usr/bin/virtualenvwrapper.sh export WORKON_HOME=$HOME/.virtualenvs
source /usr/bin/virtualenvwrapper.sh
fi
export XDG_CONFIG_HOME=$HOME/.config export XDG_CONFIG_HOME=$HOME/.config