Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
65f34ce8
Commit
65f34ce8
authored
Jun 07, 2019
by
Roger Steneteg
Committed by
Marc Cornellà
Jun 07, 2019
Browse files
kube-ps1: fix color bleeding in prompt (#7915)
parent
eb3d4630
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/kube-ps1/kube-ps1.plugin.zsh
View file @
65f34ce8
...
@@ -41,9 +41,9 @@ KUBE_PS1_SUFFIX="${KUBE_PS1_SUFFIX-)}"
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment