From fc45f3c40ecad94b5ac25b9388b1ea7678852ef0 Mon Sep 17 00:00:00 2001 From: vhaudiquet Date: Wed, 20 Aug 2025 18:03:33 +0200 Subject: [PATCH] Update prompt for no kubectx --- dotfiles/.config/prompt.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/dotfiles/.config/prompt.sh b/dotfiles/.config/prompt.sh index 35230e8..9f33607 100644 --- a/dotfiles/.config/prompt.sh +++ b/dotfiles/.config/prompt.sh @@ -27,6 +27,7 @@ parse_kubernetes_context() ctx=$(kubectx -c 2>/dev/null) if [ $? -ne 0 ]; then echo "" + return fi if [ "$ctx" = "default" ]; then