dotfiles.2022/_home/dot_sz.shrc.d/bash.post/99_gcloud.completion

5 lines
396 B
Plaintext

# The next line updates PATH for the Google Cloud SDK.
[[ -f '/usr/lib/google-cloud-sdk/path.bash.inc' ]] && source '/usr/lib/google-cloud-sdk/path.bash.inc'
# The next line enables shell command completion for gcloud (as long as gcloud is IN the path).
[[ -n "$(type -fP gcloud)" && -f '/usr/lib/google-cloud-sdk/completion.bash.inc' ]] && source '/usr/lib/google-cloud-sdk/completion.bash.inc'