summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Steneteg <36709673+rsteneteg@users.noreply.github.com>2019-06-07 11:30:08 -0500
committerMarc Cornellà <marc.cornella@live.com>2019-06-07 18:30:08 +0200
commit65f34ce80ed0aabe92ad3815ceb79db45004598b (patch)
tree1d3c010827626f9b500367c5c012f79bb7d2c230
parenteb3d46308157e10eb11ec96bcf14b319279d09d3 (diff)
downloadzsh-65f34ce80ed0aabe92ad3815ceb79db45004598b.tar.gz
zsh-65f34ce80ed0aabe92ad3815ceb79db45004598b.tar.bz2
zsh-65f34ce80ed0aabe92ad3815ceb79db45004598b.zip
kube-ps1: fix color bleeding in prompt (#7915)
-rw-r--r--plugins/kube-ps1/kube-ps1.plugin.zsh6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/kube-ps1/kube-ps1.plugin.zsh b/plugins/kube-ps1/kube-ps1.plugin.zsh
index 8a751bda8..3cb21284a 100644
--- a/plugins/kube-ps1/kube-ps1.plugin.zsh
+++ b/plugins/kube-ps1/kube-ps1.plugin.zsh
@@ -41,9 +41,9 @@ KUBE_PS1_SUFFIX="${KUBE_PS1_SUFFIX-)}"
KUBE_PS1_LAST_TIME=0
KUBE_PS1_ENABLED=true
-KUBE_PS1_COLOR_SYMBOL="%F{blue}"
-KUBE_PS1_COLOR_CONTEXT="%F{red}"
-KUBE_PS1_COLOR_NS="%F{cyan}"
+KUBE_PS1_COLOR_SYMBOL="%{$fg[blue]%}"
+KUBE_PS1_COLOR_CONTEXT="%{$fg[red]%}"
+KUBE_PS1_COLOR_NS="%{$fg[cyan]%}"
_kube_ps1_binary_check() {
command -v "$1" >/dev/null