Fix config when missing files

This commit is contained in:
Nicole Tietz-Sokolskaya 2018-08-15 14:57:35 -04:00
parent e9d5d649ea
commit 65fa108064

View file

@ -31,10 +31,9 @@ if [ -x "$(command -v pyenv)" ]
then
export PATH="/home/nicholas/.pyenv/bin:$PATH"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
fi
if [ -x "$(command -v gcloud)" ]
if [ -x "$(command -v gcloud)" ] && [ -f "$HOME/.install/google-cloud-sdk" ]
then
source $HOME/.install/google-cloud-sdk/completion.bash.inc
source $HOME/.install/google-cloud-sdk/path.bash.inc