Compare commits
1 Commits
f1a0162e07
...
93dd8f86fb
| Author | SHA1 | Date |
|---|---|---|
|
|
93dd8f86fb |
|
|
@ -4716,9 +4716,7 @@ _p9k_gcloud_prefetch() {
|
|||
if ! _p9k_cache_stat_get $0 ${CLOUDSDK_CONFIG:-~/.config/gcloud}/configurations/config_$P9K_GCLOUD_CONFIGURATION; then
|
||||
local pair account project_id
|
||||
pair="$(gcloud config configurations describe $P9K_GCLOUD_CONFIGURATION \
|
||||
--quiet \
|
||||
--format=$'value[separator="\1"](properties.core.account,properties.core.project)' \
|
||||
</dev/null)"
|
||||
--format=$'value[separator="\1"](properties.core.account,properties.core.project)')"
|
||||
(( ! $? )) && IFS=$'\1' read account project_id <<<$pair
|
||||
_p9k_cache_stat_set "$account" "$project_id"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue