Use kubectl use-context instead.
alias kctx='kubectl config use-context' Keep your clusters straight and your commands clean. Use contexts like a pro. 🚢 kubectl use-context
use-context is faster, less error-prone, and keeps your original config intact. Use kubectl use-context instead