aboutsummaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorJason Hutchinson <zikes@zikes.me>2017-05-26 21:27:17 +0300
committerJason Hutchinson <zikes@zikes.me>2017-05-26 21:27:17 +0300
commitc11c3a55de2be5a9e11b55426d0afbca43aace4d (patch)
tree879d862b827995fc8760d3d1e082fef9c3afb700 /powerlevel9k.zsh-theme
parentd8d6c752fdeabf4de96ba96a361069e1fe8e65da (diff)
use p9k print_icon for kubecontext segment
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-xpowerlevel9k.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index fa2e94ab..0d794a85 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -1362,7 +1362,7 @@ prompt_kubecontext() {
local k8s_namespace=$(kubectl config get-contexts --no-headers | grep '*' | awk '{print $5}')
# Get the current Kuberenetes context
local k8s_context=$(kubectl config current-context)
- "$1_prompt_segment" "$0" "$2" "magenta" "white" "$k8s_context/$k8s_namespace \u2388"
+ "$1_prompt_segment" "$0" "$2" "magenta" "white" "$k8s_context/$k8s_namespace" "KUBERNETES_ICON"
fi
}