Created
April 27, 2018 15:07
-
-
Save broady/b9465f447512d7310a0dd6c0ea81a10d to your computer and use it in GitHub Desktop.
Different bash sessions for different gcloud users/projects
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias labs-sh="bash --rcfile ${envs}/labs.rc -i" | |
~ $ cat ~/dotfiles/envs/labs.rc | |
source ~/.bash_profile | |
source ~/.bash_login | |
echo ok | |
export PS1="[labs]$PS1" | |
export CLOUDSDK_CONFIG=$HOME/.config/gcloud-labs | |
export GOOGLE_APPLICATION_CREDENTIALS=$CLOUDSDK_CONFIG/application_default_credentials.json | |
gcloud container clusters get-credentials gke --zone us-west1-a --project cbro-labs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment