mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-08 08:20:39 +01:00
kube-ps1: fix color bleeding in prompt (#7915)
This commit is contained in:
committed by
Marc Cornellà
parent
eb3d463081
commit
65f34ce80e
@@ -41,9 +41,9 @@ KUBE_PS1_SUFFIX="${KUBE_PS1_SUFFIX-)}"
|
|||||||
KUBE_PS1_LAST_TIME=0
|
KUBE_PS1_LAST_TIME=0
|
||||||
KUBE_PS1_ENABLED=true
|
KUBE_PS1_ENABLED=true
|
||||||
|
|
||||||
KUBE_PS1_COLOR_SYMBOL="%F{blue}"
|
KUBE_PS1_COLOR_SYMBOL="%{$fg[blue]%}"
|
||||||
KUBE_PS1_COLOR_CONTEXT="%F{red}"
|
KUBE_PS1_COLOR_CONTEXT="%{$fg[red]%}"
|
||||||
KUBE_PS1_COLOR_NS="%F{cyan}"
|
KUBE_PS1_COLOR_NS="%{$fg[cyan]%}"
|
||||||
|
|
||||||
_kube_ps1_binary_check() {
|
_kube_ps1_binary_check() {
|
||||||
command -v "$1" >/dev/null
|
command -v "$1" >/dev/null
|
||||||
|
|||||||
Reference in New Issue
Block a user