Skip to content

Commit

Permalink
adding in fix for jonmosco#81
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmosco committed Jul 16, 2019
1 parent c3f7ec0 commit 3e3bfa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kube-ps1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ _kube_ps1_init() {
_KUBE_PS1_CLOSE_ESC=$'\002'
_KUBE_PS1_DEFAULT_BG=$'\033[49m'
_KUBE_PS1_DEFAULT_FG=$'\033[39m'
PROMPT_COMMAND="${PROMPT_COMMAND:-:};_kube_ps1_update_cache"
[[ $PROMPT_COMMAND =~ _kube_ps1_update_cache ]] || PROMPT_COMMAND="_kube_ps1_update_cache;${PROMPT_COMMAND:-:}"
;;
esac
}
Expand Down

0 comments on commit 3e3bfa9

Please sign in to comment.