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