aboutsummaryrefslogtreecommitdiff
path: root/config/p10k-classic.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-12-06 15:47:45 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-12-06 15:47:45 +0300
commit339703e2b1b4c84d201ff50523e8ccf93811e932 (patch)
treeb164e809c7617c41a3ef21f8e10c1e8a7d724e7b /config/p10k-classic.zsh
parentc971c2a619a0c80afce4bccd95b118b4e97978d9 (diff)
better commends for POWERLEVEL9K_GCLOUD_CONTENT_EXPANSION
Diffstat (limited to 'config/p10k-classic.zsh')
-rw-r--r--config/p10k-classic.zsh9
1 files changed, 7 insertions, 2 deletions
diff --git a/config/p10k-classic.zsh b/config/p10k-classic.zsh
index a671a7a7..d032ef3d 100644
--- a/config/p10k-classic.zsh
+++ b/config/p10k-classic.zsh
@@ -766,8 +766,13 @@
# Google cloud color.
typeset -g POWERLEVEL9K_GCLOUD_FOREGROUND=32
- # Google cloud format. Uncomment and edit the next line if the default is too verbose.
- # Note: ${X//\%/%%} is the same as $X but with all occurences of % replaced with %%.
+ # Google cloud format. Uncomment POWERLEVEL9K_GCLOUD_CONTENT_EXPANSION and edit its value if the
+ # default is too verbose.
+ #
+ # P9K_GCLOUD_ACCOUNT: the output of `gcloud config get-value account`
+ # P9K_GCLOUD_PROJECT: the output of `gcloud config get-value project`
+ # ${VARIABLE//\%/%%}: ${VARIABLE} with all occurences of '%' replaced with '%%'.
+ #
# typeset -g POWERLEVEL9K_GCLOUD_CONTENT_EXPANSION='${P9K_GCLOUD_ACCOUNT//\%/%%}:${P9K_GCLOUD_PROJECT//\%/%%}'
# Custom icon.