mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-09-18 08:20:10 +00:00
comments
This commit is contained in:
@@ -4086,6 +4086,7 @@ _p9k_prompt_azure_init() {
|
||||
}
|
||||
|
||||
prompt_gcloud() {
|
||||
# TODO: Use `gcloud config configurations list` instead.
|
||||
unset P9K_GCLOUD_PROJECT P9K_GCLOUD_ACCOUNT
|
||||
if ! _p9k_cache_stat_get $0 ~/.config/gcloud/active_config ~/.config/gcloud/configurations/config_default; then
|
||||
_p9k_cache_stat_set "$(gcloud config get-value account 2>/dev/null)" "$(gcloud config get-value project 2>/dev/null)"
|
||||
|
||||
Reference in New Issue
Block a user