Update prompt for no kubectx

This commit is contained in:
2025-08-20 18:03:33 +02:00
parent a7173a138a
commit fc45f3c40e

View File

@@ -27,6 +27,7 @@ parse_kubernetes_context()
ctx=$(kubectx -c 2>/dev/null) ctx=$(kubectx -c 2>/dev/null)
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "" echo ""
return
fi fi
if [ "$ctx" = "default" ]; then if [ "$ctx" = "default" ]; then