Changing .kubeconfig path

how to change the path of default .kube.config path… following command only sets the kubeconfig file temporarily:-
kubectl config --kubeconfig=/etc/test get-clusters
what if we want to change it permanently, replace the current .kubeconfig file?

You can set the KUBECONFIG environment variable for your account (say, in Linux, by adding something like export KUBECONFIG=/put/it/here in your ~/.bashrc file)

Thanks, found out that you can merge two files as well
export KUBECONFIG=“${KUBECONFIG}:config-demo:config-demo-2”