Skip to content

Commit bf29483

Browse files
authored
chore(kube-ps1): update to 9b41c091 (ohmyzsh#13522)
Co-authored-by: ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com>
1 parent 25d4d75 commit bf29483

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/dependencies.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ dependencies:
3030
plugins/kube-ps1:
3131
repo: jonmosco/kube-ps1
3232
branch: master
33-
version: 0b0e6daf4197ecabb1ae4f2d46fb148a8e1e73e5
33+
version: 9b41c091d5dd4a99e58cf58b5d98a4847937b1bb
3434
precopy: |
3535
set -e
3636
find . ! -name kube-ps1.sh ! -name LICENSE ! -name README.md -delete

plugins/kube-ps1/kube-ps1.plugin.zsh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -385,9 +385,9 @@ kube_ps1() {
385385
local KUBE_PS1_RESET_COLOR="${_KUBE_PS1_OPEN_ESC}${_KUBE_PS1_DEFAULT_FG}${_KUBE_PS1_CLOSE_ESC}"
386386

387387
# If background color is set, reset color should also reset the background
388-
if [[ -n "${KUBE_PS1_BG_COLOR}" ]]; then
389-
KUBE_PS1_RESET_COLOR="${_KUBE_PS1_OPEN_ESC}${_KUBE_PS1_DEFAULT_FG}${_KUBE_PS1_DEFAULT_BG}${_KUBE_PS1_CLOSE_ESC}"
390-
fi
388+
# if [[ -n "${KUBE_PS1_BG_COLOR}" ]]; then
389+
# KUBE_PS1_RESET_COLOR="${_KUBE_PS1_OPEN_ESC}${_KUBE_PS1_DEFAULT_FG}${_KUBE_PS1_DEFAULT_BG}${_KUBE_PS1_CLOSE_ESC}"
390+
# fi
391391

392392
# Background Color
393393
[[ -n "${KUBE_PS1_BG_COLOR}" ]] && KUBE_PS1+="$(_kube_ps1_color_bg "${KUBE_PS1_BG_COLOR}")"

0 commit comments

Comments
 (0)