Compare commits
1 Commits
7fe72e9ede
...
6bf6e42da3
| Author | SHA1 | Date |
|---|---|---|
|
|
6bf6e42da3 |
|
|
@ -4889,9 +4889,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