This should also allow
Yes, that works too. But it’s only applicable to your current shell. I think the question is expecting a persistent setting. Maybe we need to make that clear.
blowing away another configuration is a bit more destructive imo. There are folks that will have multiple kubeconfig and set the prefered one using env vars.
i guess it is worth showcasing the use of env vars and having knowledge for KUBECONFIG env var