aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2020-09-15 11:45:04 +0300
committerRoman Perepelitsa <roman.perepelitsa@gmail.com>2020-09-15 11:45:04 +0300
commit4d1fba340f4c3a224fbf7d57205b4d4f584d6245 (patch)
tree0180f0f76fc690b25c8826f8f4e34f5e36dd72a0 /internal
parentafb854d2796989e154029277b2bf1ac12586fddf (diff)
bug fix: superfluous dash in P9K_KUBECONTEXT_CLOUD_ZONE (#1013)
Diffstat (limited to 'internal')
-rw-r--r--internal/p10k.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index cf4d471e..d98905e9 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -4328,7 +4328,7 @@ prompt_kubecontext() {
if [[ $cluster == (#b)gke_(?*)_(asia|australia|europe|northamerica|southamerica|us)-([a-z]##<->)(-[a-z]|)_(?*) ]]; then
cloud_name=gke
cloud_account=$match[1]
- cloud_zone=$match[2]-$match[3]-$match[4]
+ cloud_zone=$match[2]-$match[3]$match[4]
cloud_cluster=$match[5]
if (( ${_POWERLEVEL9K_KUBECONTEXT_SHORTEN[(I)gke]} )); then
text=$cloud_cluster
@@ -7878,7 +7878,7 @@ _p9k_must_init() {
[[ $sig == $_p9k__param_sig ]] && return 1
_p9k_deinit
fi
- _p9k__param_pat=$'v107\1'${(q)ZSH_VERSION}$'\1'${(q)ZSH_PATCHLEVEL}$'\1'
+ _p9k__param_pat=$'v108\1'${(q)ZSH_VERSION}$'\1'${(q)ZSH_PATCHLEVEL}$'\1'
_p9k__param_pat+=$'${#parameters[(I)POWERLEVEL9K_*]}\1${(%):-%n%#}\1$GITSTATUS_LOG_LEVEL\1'
_p9k__param_pat+=$'$GITSTATUS_ENABLE_LOGGING\1$GITSTATUS_DAEMON\1$GITSTATUS_NUM_THREADS\1'
_p9k__param_pat+=$'$GITSTATUS_CACHE_DIR\1$GITSTATUS_AUTO_INSTALL\1${ZLE_RPROMPT_INDENT:-1}\1'