# shellcheck shell=bash # Bash completion for Google Cloud SDK if _command_exists gcloud; then # get install path GOOGLE_SDK_ROOT=${GOOGLE_SDK_ROOT:-$(gcloud info --format="value(installation.sdk_root)")} # source all the bash completion file that are available for i in "${GOOGLE_SDK_ROOT}"/*.bash.inc; do # shellcheck disable=SC1090 source "$i" done fi