Don't source virtualenvwrapper if it's not there
This commit is contained in:
parent
9b34c1ff47
commit
50b1028ad3
1 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue