summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2020-06-18 11:25:01 +0200
committerAlan Pearce2020-06-18 11:25:01 +0200
commit520565587104528b4d241084b6cbf72217e13e1f (patch)
treea26c0d435f1cde46d4f8580440871aec42b11428 /user
parenta532dd67ff224846f99390ff2bd934503f7697a0 (diff)
downloadnixfiles-520565587104528b4d241084b6cbf72217e13e1f.tar.lz
nixfiles-520565587104528b4d241084b6cbf72217e13e1f.tar.zst
nixfiles-520565587104528b4d241084b6cbf72217e13e1f.zip
zsh: show kubernetes status in all satoshipay repositories
Diffstat (limited to 'user')
-rw-r--r--user/zsh/zshrc2
1 files changed, 1 insertions, 1 deletions
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}")