diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-12-19 19:28:00 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-12-19 19:28:00 +0300 |
commit | 61c268f7aecd3140b6d026844d97fe1e251153a9 (patch) | |
tree | 1639973a51589654c95544397c13e7e1f150b113 /config | |
parent | fa665ae4a779e6f59b4f32718daae233ca1d994d (diff) | |
parent | 1086f747ba1400256482b1698319a7ce68a93395 (diff) |
Merge branch 'rsotnychenko-update-gcloud'
Diffstat (limited to 'config')
-rw-r--r-- | config/p10k-classic.zsh | 20 | ||||
-rw-r--r-- | config/p10k-lean.zsh | 20 | ||||
-rw-r--r-- | config/p10k-rainbow.zsh | 20 |
3 files changed, 57 insertions, 3 deletions
diff --git a/config/p10k-classic.zsh b/config/p10k-classic.zsh index 2a0eb2fb..adf90c76 100644 --- a/config/p10k-classic.zsh +++ b/config/p10k-classic.zsh @@ -67,7 +67,8 @@ aws # aws profile (https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html) # aws_eb_env # aws elastic beanstalk environment (https://aws.amazon.com/elasticbeanstalk/) # azure # azure account name (https://docs.microsoft.com/en-us/cli/azure) - # gcloud # google cloud acccount and project (https://cloud.google.com/) + # gcloud # google cloud cli acccount and project (https://cloud.google.com/) + # gcloud_app # google cloud application credentials (https://cloud.google.com/docs/authentication/getting-started#setting_the_environment_variable) context # user@hostname nordvpn # nordvpn connection status, linux only (https://nordvpn.com/) ranger # ranger shell (https://github.com/ranger/ranger) @@ -785,6 +786,23 @@ # Custom icon. # typeset -g POWERLEVEL9K_GCLOUD_VISUAL_IDENTIFIER_EXPANSION='⭐' + ##########[ gcloud_app: google cloud application credentials (https://cloud.google.com/docs/authentication/getting-started#setting_the_environment_variable) ]########### + # Google cloud color. + typeset -g POWERLEVEL9K_GCLOUD_APP_FOREGROUND=32 + + # Google cloud format. Uncomment POWERLEVEL9K_GCLOUD_APP_CONTENT_EXPANSION and edit its value if the + # default is too verbose. + # + # P9K_GCLOUD_APP_EMAIL: `.client_email` field of keyfile + # P9K_GCLOUD_APP_ACCOUNT_TYPE: `.type` field of keyfile + # P9K_GCLOUD_APP_ACCOUNT_TYPE_SHORT: `sa` if `type=service_account`, empty otherwise + # ${VARIABLE//\%/%%}: ${VARIABLE} with all occurences of '%' replaced with '%%'. + # + # typeset -g POWERLEVEL9K_GCLOUD_APP_CONTENT_EXPANSION='${P9K_GCLOUD_APP_ACCOUNT_TYPE_SHORT//\%/%%}${P9K_GCLOUD_APP_EMAIL//\%/%%}' + + # Custom icon. + # typeset -g POWERLEVEL9K_GCLOUD_APP_VISUAL_IDENTIFIER_EXPANSION='⭐' + #############[ kubecontext: current kubernetes context (https://kubernetes.io/) ]############# # Kubernetes context classes for the purpose of using different colors, icons and expansions with # different contexts. diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh index ce4d3332..574f654c 100644 --- a/config/p10k-lean.zsh +++ b/config/p10k-lean.zsh @@ -67,7 +67,8 @@ aws # aws profile (https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html) # aws_eb_env # aws elastic beanstalk environment (https://aws.amazon.com/elasticbeanstalk/) # azure # azure account name (https://docs.microsoft.com/en-us/cli/azure) - # gcloud # google cloud acccount and project (https://cloud.google.com/) + # gcloud # google cloud cli acccount and project (https://cloud.google.com/) + # gcloud_app # google cloud application credentials (https://cloud.google.com/docs/authentication/getting-started#setting_the_environment_variable) context # user@hostname nordvpn # nordvpn connection status, linux only (https://nordvpn.com/) ranger # ranger shell (https://github.com/ranger/ranger) @@ -842,6 +843,23 @@ # Custom icon. # typeset -g POWERLEVEL9K_GCLOUD_VISUAL_IDENTIFIER_EXPANSION='⭐' + ##########[ gcloud_app: google cloud application credentials (https://cloud.google.com/docs/authentication/getting-started#setting_the_environment_variable) ]########### + # Google cloud color. + typeset -g POWERLEVEL9K_GCLOUD_APP_FOREGROUND=32 + + # Google cloud format. Uncomment POWERLEVEL9K_GCLOUD_APP_CONTENT_EXPANSION and edit its value if the + # default is too verbose. + # + # P9K_GCLOUD_APP_EMAIL: `.client_email` field of keyfile + # P9K_GCLOUD_APP_ACCOUNT_TYPE: `.type` field of keyfile + # P9K_GCLOUD_APP_ACCOUNT_TYPE_SHORT: `sa` if `type=service_account`, empty otherwise + # ${VARIABLE//\%/%%}: ${VARIABLE} with all occurences of '%' replaced with '%%'. + # + # typeset -g POWERLEVEL9K_GCLOUD_APP_CONTENT_EXPANSION='${P9K_GCLOUD_APP_ACCOUNT_TYPE_SHORT//\%/%%}${P9K_GCLOUD_APP_EMAIL//\%/%%}' + + # Custom icon. + # typeset -g POWERLEVEL9K_GCLOUD_APP_VISUAL_IDENTIFIER_EXPANSION='⭐' + ###############################[ public_ip: public IP address ]############################### # Public IP color. typeset -g POWERLEVEL9K_PUBLIC_IP_FOREGROUND=94 diff --git a/config/p10k-rainbow.zsh b/config/p10k-rainbow.zsh index 9419b4c5..677448b6 100644 --- a/config/p10k-rainbow.zsh +++ b/config/p10k-rainbow.zsh @@ -67,7 +67,8 @@ aws # aws profile (https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html) # aws_eb_env # aws elastic beanstalk environment (https://aws.amazon.com/elasticbeanstalk/) # azure # azure account name (https://docs.microsoft.com/en-us/cli/azure) - # gcloud # google cloud acccount and project (https://cloud.google.com/) + # gcloud # google cloud cli acccount and project (https://cloud.google.com/) + # gcloud_app # google cloud application credentials (https://cloud.google.com/docs/authentication/getting-started#setting_the_environment_variable) context # user@hostname nordvpn # nordvpn connection status, linux only (https://nordvpn.com/) ranger # ranger shell (https://github.com/ranger/ranger) @@ -810,6 +811,23 @@ # Custom icon. # typeset -g POWERLEVEL9K_GCLOUD_VISUAL_IDENTIFIER_EXPANSION='⭐' + ##########[ gcloud_app: google cloud application credentials (https://cloud.google.com/docs/authentication/getting-started#setting_the_environment_variable) ]########### + # Google cloud color. + typeset -g POWERLEVEL9K_GCLOUD_APP_FOREGROUND=32 + + # Google cloud format. Uncomment POWERLEVEL9K_GCLOUD_APP_CONTENT_EXPANSION and edit its value if the + # default is too verbose. + # + # P9K_GCLOUD_APP_EMAIL: `.client_email` field of keyfile + # P9K_GCLOUD_APP_ACCOUNT_TYPE: `.type` field of keyfile + # P9K_GCLOUD_APP_ACCOUNT_TYPE_SHORT: `sa` if `type=service_account`, empty otherwise + # ${VARIABLE//\%/%%}: ${VARIABLE} with all occurences of '%' replaced with '%%'. + # + # typeset -g POWERLEVEL9K_GCLOUD_APP_CONTENT_EXPANSION='${P9K_GCLOUD_APP_ACCOUNT_TYPE_SHORT//\%/%%}${P9K_GCLOUD_APP_EMAIL//\%/%%}' + + # Custom icon. + # typeset -g POWERLEVEL9K_GCLOUD_APP_VISUAL_IDENTIFIER_EXPANSION='⭐' + #############[ kubecontext: current kubernetes context (https://kubernetes.io/) ]############# # Kubernetes context classes for the purpose of using different colors, icons and expansions with # different contexts. |