mirror of
https://github.com/vhaudiquet/mymachine.git
synced 2025-12-18 20:16:05 +00:00
Update prompt for no kubectx
This commit is contained in:
@@ -27,6 +27,7 @@ parse_kubernetes_context()
|
||||
ctx=$(kubectx -c 2>/dev/null)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo ""
|
||||
return
|
||||
fi
|
||||
|
||||
if [ "$ctx" = "default" ]; then
|
||||
|
||||
Reference in New Issue
Block a user