I use Fish as my shell, but I know that a lot of people are using Bash. Here are two ways to concatenate config files for
kubectl into the
KUBECONFIG environment variable. If you're using
tcsh you'll know how to convert these to your shell's format.
You can call these from your shell init file, or if you want to temporarily disable a script, append
.disabled to its extension and run the script manually.
You can even hotkey it on something like the Elgato Stream Deck.