From 520565587104528b4d241084b6cbf72217e13e1f Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 18 Jun 2020 11:25:01 +0200 Subject: zsh: show kubernetes status in all satoshipay repositories --- user/zsh/zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/zsh/zshrc b/user/zsh/zshrc index 771e96db..889a9490 100644 --- a/user/zsh/zshrc +++ b/user/zsh/zshrc @@ -82,7 +82,7 @@ else AGKOZAK_LEFT_PROMPT_ONLY=${+SSH_CLIENT} check_kubectl_context () { - if [[ "$PWD" =~ /kubernetes || "$PWD" =~ /monorepo ]] + if [[ "$PWD" =~ satoshipay ]] then kubectl_context=$(kubectl config current-context) kubectl_namespace=$(kubectl config view -o jsonpath="{.contexts[?(@.name==\"${kubectl_context}\")].context.namespace}") -- cgit 1.4.1