only source files if they exist

This commit is contained in:
tmont 2014-04-21 09:54:36 -07:00
parent 5cdaaded41
commit c4caa43065

View File

@ -1,5 +1,10 @@
source ~/.git-completion.sh
source ~/.git-prompt.sh
if [ -f ~/.git-completion.sh ]; then
source ~/.git-completion.sh
fi
if [ -f ~/.git-prompt.sh ]; then
source ~/.git-prompt.sh
fi
export EDITOR=vim
export WEBIDE_JDK=/usr/lib/jvm/java-1.7.0-openjdk-amd64