mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-13 08:30:08 +00:00
comments
This commit is contained in:
parent
637752ef7b
commit
3b2fa36cd6
1 changed files with 1 additions and 0 deletions
|
@ -4086,6 +4086,7 @@ _p9k_prompt_azure_init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
prompt_gcloud() {
|
prompt_gcloud() {
|
||||||
|
# TODO: Use `gcloud config configurations list` instead.
|
||||||
unset P9K_GCLOUD_PROJECT P9K_GCLOUD_ACCOUNT
|
unset P9K_GCLOUD_PROJECT P9K_GCLOUD_ACCOUNT
|
||||||
if ! _p9k_cache_stat_get $0 ~/.config/gcloud/active_config ~/.config/gcloud/configurations/config_default; then
|
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)"
|
_p9k_cache_stat_set "$(gcloud config get-value account 2>/dev/null)" "$(gcloud config get-value project 2>/dev/null)"
|
||||||
|
|
Loading…
Reference in a new issue