When I'm working with several kubeconfig files, I predominantly use ktx as my main tool to switch between them. Because I have different terminals in which I switch to different kubeconfigs, it would be neat if ktx also allowed me to know which kubeconfig my terminal is set to (I would prefer to not change my PS1).
Currently, I run echo $KUBECONFIG to determine my current kubeconfig.
Hello!
When I'm working with several kubeconfig files, I predominantly use ktx as my main tool to switch between them. Because I have different terminals in which I switch to different kubeconfigs, it would be neat if ktx also allowed me to know which kubeconfig my terminal is set to (I would prefer to not change my PS1).
Currently, I run
echo $KUBECONFIG
to determine my current kubeconfig.For example,
In this case, the asterisk signals my current kubeconfig.