|
|
|
@ -1332,7 +1332,7 @@
|
|
|
|
|
# P9K_GCLOUD_PROJECT_ID | gcloud config get-value project
|
|
|
|
|
# P9K_GCLOUD_PROJECT_NAME | gcloud projects describe $P9K_GCLOUD_PROJECT_ID --format='value(name)'
|
|
|
|
|
#
|
|
|
|
|
# Note: ${VARIABLE//\%/%%} expands to ${VARIABLE} with all occurences of '%' replaced with '%%'.
|
|
|
|
|
# Note: ${VARIABLE//\%/%%} expands to ${VARIABLE} with all occurrences of '%' replaced with '%%'.
|
|
|
|
|
#
|
|
|
|
|
# Obtaining project name requires sending a request to Google servers. This can take a long time
|
|
|
|
|
# and even fail. When project name is unknown, P9K_GCLOUD_PROJECT_NAME is not set and gcloud
|
|
|
|
@ -1405,7 +1405,7 @@
|
|
|
|
|
# P9K_GOOGLE_APP_CRED_PROJECT_ID | project_id
|
|
|
|
|
# P9K_GOOGLE_APP_CRED_CLIENT_EMAIL | client_email
|
|
|
|
|
#
|
|
|
|
|
# Note: ${VARIABLE//\%/%%} expands to ${VARIABLE} with all occurences of '%' replaced by '%%'.
|
|
|
|
|
# Note: ${VARIABLE//\%/%%} expands to ${VARIABLE} with all occurrences of '%' replaced by '%%'.
|
|
|
|
|
typeset -g POWERLEVEL9K_GOOGLE_APP_CRED_DEFAULT_CONTENT_EXPANSION='${P9K_GOOGLE_APP_CRED_PROJECT_ID//\%/%%}'
|
|
|
|
|
|
|
|
|
|
###############################[ public_ip: public IP address ]###############################
|
|
|
|
|