Skip to content

Instantly share code, notes, and snippets.

@AjinkyaBapat
Forked from chuycepeda/.zshrc
Created December 6, 2017 06:30
Show Gist options
  • Save AjinkyaBapat/937e89a04e405de8d1ab7f3485b38b4c to your computer and use it in GitHub Desktop.
Save AjinkyaBapat/937e89a04e405de8d1ab7f3485b38b4c 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