Add gcloud completion
parent
9b4a049571
commit
93905c3663
|
|
@ -0,0 +1,9 @@
|
|||
#/usr/bin/env bash
|
||||
# Bash completion for Google Cloud SDK
|
||||
|
||||
if which gcloud >/dev/null 2>&1; then
|
||||
GOOGLE_SDK_ROOT=${GOOGLE_SDK_ROOT:-$(gcloud info --format="value(installation.sdk_root)")}
|
||||
for i in $(ls ${GOOGLE_SDK_ROOT}/*.bash.inc); do
|
||||
source $i
|
||||
done
|
||||
fi
|
||||
Loading…
Reference in New Issue