aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-02-03 15:51:58 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-02-03 15:51:58 +0300
commit3b2fa36cd6fd34ccd764f410013d91440db180f4 (patch)
treef2e45d0d5a0e1d1bf893ca293c164ade295f5c28 /internal/p10k.zsh
parent637752ef7bc790c4d8f6ff0498d1e70496ff9a96 (diff)
comments
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r--internal/p10k.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 4a5250bb..476f65c1 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -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)"