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 VISUAL=$EDITOR
|
||||
|
||||
export WORKON_HOME=$HOME/.virtualenvs
|
||||
source /usr/bin/virtualenvwrapper.sh
|
||||
if [[ -a /usr/bin/virtualenvwrapper.sh ]]; then
|
||||
export WORKON_HOME=$HOME/.virtualenvs
|
||||
source /usr/bin/virtualenvwrapper.sh
|
||||
fi
|
||||
|
||||
export XDG_CONFIG_HOME=$HOME/.config
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue