Skip to content

Instantly share code, notes, and snippets.

@phorward
Created January 25, 2019 16:47
Show Gist options
  • Save phorward/7167e11274d49f68e656e4d9043927ae to your computer and use it in GitHub Desktop.
Save phorward/7167e11274d49f68e656e4d9043927ae to your computer and use it in GitHub Desktop.
.bashrc with gcloud settings
####################
# Google Cloud SDK #
####################
GCLOUDSDKPATH="$HOME/bin/google-cloud-sdk"
# The next line updates PATH for the Google Cloud SDK.
if [ -f "$GCLOUDSDKPATH/path.bash.inc" ]
then
source "$GCLOUDSDKPATH/path.bash.inc"
fi
# The next line enables shell command completion for gcloud.
if [ -f "$GCLOUDSDKPATH/completion.bash.inc" ]
then
source "$GCLOUDSDKPATH/completion.bash.inc"
fi
# The next line adds the original AppEngine Python SDK to the PATH
#export PATH="$GCLOUDSDKPATH/platform/google_appengine:$PATH"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment