From 65f34ce80ed0aabe92ad3815ceb79db45004598b Mon Sep 17 00:00:00 2001 From: Roger Steneteg <36709673+rsteneteg@users.noreply.github.com> Date: Fri, 7 Jun 2019 11:30:08 -0500 Subject: [PATCH] kube-ps1: fix color bleeding in prompt (#7915) --- plugins/kube-ps1/kube-ps1.plugin.zsh | 6 +++--- 1 file 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