Skip to content

Instantly share code, notes, and snippets.

@chuycepeda
Created November 26, 2014 23:12
Show Gist options
  • Save chuycepeda/d6a792a3ddd52563598f to your computer and use it in GitHub Desktop.
Save chuycepeda/d6a792a3ddd52563598f to your computer and use it in GitHub Desktop.
.zshrc edits for gcloud sdk and gcloud-zsh-completion
#If zsh installed, gcloud may not work, thus add the following lines to .zshrc file (aka on Terminal run $ vi /.zshrc)
#zsh install: https://github.com/robbyrussell/oh-my-zsh/
#gcloud sdk install: https://cloud.google.com/sdk/
#gcloud zsh completion install: https://github.com/littleq0903/gcloud-zsh-completion
#gcloud
export PATH="/path/to/google-cloud-sdk/bin:$PATH"
#gcloud zsh completion
fpath=(/path/to/gcloud-zsh-completion/src $fpath)
autoload -U compinit compdef
compinit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment