From 65fa1080641efb6bbe390c9f765bbf4237e85581 Mon Sep 17 00:00:00 2001 From: Nicole Tietz-Sokolskaya Date: Wed, 15 Aug 2018 14:57:35 -0400 Subject: [PATCH] Fix config when missing files --- bash/.profile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bash/.profile b/bash/.profile index 597e3bd..98bbc52 100644 --- a/bash/.profile +++ b/bash/.profile @@ -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