bf2948322b134dfc30e7ed7e7cd267ae064795bc

Author
ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com>
Committer
GitHub <noreply@github.com>
Date

Message

chore(kube-ps1): update to 9b41c091 (#13522)

Co-authored-by: ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com>

Diff

 1diff --git a/.github/dependencies.yml b/.github/dependencies.yml
 2index 270cb9ec6e1cea9d645658564bea35d4efdadab1..761989bfeacf110777b325e535466cd802eae7f8 100644
 3--- a/.github/dependencies.yml
 4+++ b/.github/dependencies.yml
 5@@ -30,7 +30,7 @@ dependencies:
 6   plugins/kube-ps1:
 7     repo: jonmosco/kube-ps1
 8     branch: master
 9-    version: 0b0e6daf4197ecabb1ae4f2d46fb148a8e1e73e5
10+    version: 9b41c091d5dd4a99e58cf58b5d98a4847937b1bb
11     precopy: |
12       set -e
13       find . ! -name kube-ps1.sh ! -name LICENSE ! -name README.md -delete
14diff --git a/plugins/kube-ps1/kube-ps1.plugin.zsh b/plugins/kube-ps1/kube-ps1.plugin.zsh
15index 95e91e0d320469e6b95af1770d1efa418b69c86f..9dcd6da44f1246494663d7d175eb288bc586bf3c 100644
16--- a/plugins/kube-ps1/kube-ps1.plugin.zsh
17+++ b/plugins/kube-ps1/kube-ps1.plugin.zsh
18@@ -385,9 +385,9 @@ kube_ps1() {
19   local KUBE_PS1_RESET_COLOR="${_KUBE_PS1_OPEN_ESC}${_KUBE_PS1_DEFAULT_FG}${_KUBE_PS1_CLOSE_ESC}"
20 
21   # If background color is set, reset color should also reset the background
22-  if [[ -n "${KUBE_PS1_BG_COLOR}" ]]; then
23-    KUBE_PS1_RESET_COLOR="${_KUBE_PS1_OPEN_ESC}${_KUBE_PS1_DEFAULT_FG}${_KUBE_PS1_DEFAULT_BG}${_KUBE_PS1_CLOSE_ESC}"
24-  fi
25+  # if [[ -n "${KUBE_PS1_BG_COLOR}" ]]; then
26+  #   KUBE_PS1_RESET_COLOR="${_KUBE_PS1_OPEN_ESC}${_KUBE_PS1_DEFAULT_FG}${_KUBE_PS1_DEFAULT_BG}${_KUBE_PS1_CLOSE_ESC}"
27+  # fi
28 
29   # Background Color
30   [[ -n "${KUBE_PS1_BG_COLOR}" ]] && KUBE_PS1+="$(_kube_ps1_color_bg "${KUBE_PS1_BG_COLOR}")"