Set the default kubeconfig when empty
Set the default kubeconfig when empty

This change sets the default KUBECONFIG when empty so that we don't
use the dind one as the default when the original default KUBECONFIG
was in use.

i.e. if KUBECONFIG is unset, before this change when you sourced the
rc file it would set KUBECONFIG to the dind kubeconfig.  If you had
been working with other clusters defined in the default ~/.kube/config
you would lose visibility of them.  This change just sets the default
path if KUBECONFIG is not set.

This also cleans up the way that the function was embedded into the rc
file we generate by defining the function in bash and then using
`declare` to get bash to output the definition.  This means that bash
will check the syntax of the function when run and we don't have to
deal with all of the horrible escaping of characters from bash.

kargakis/origin,childsb/origin,sjug/origin,sallyom/origin,Miciah/origin,liangxia/origin,mdshuai/origin,sjug/origin,wjiangjay/origin,liangxia/origin,sferich888/origin,akram/origin,liggitt/origin,enj/origin,sdminonne/origin,juanvallejo/origin,sferich888/origin,liggitt/origin,ramr/origin,mahak/origin,spadgett/origin,juanvallejo/origin,hferentschik/origin,nak3/origin,miminar/origin,childsb/origin,xiuwang/origin,kargakis/origin,openshift/origin,hroyrh/origin,php-coder/origin,childsb/origin,openshift/origin,legionus/origin,gabemontero/origin,mdshuai/origin,imcsk8/origin,coreydaley/origin,mahak/origin,miminar/origin,miminar/origin,legionus/origin,enj/origin,tnozicka/origin,imcsk8/origin,PI-Victor/origin,php-coder/origin,hferentschik/origin,ingvagabund/origin,dinhxuanvu/origin,php-coder/origin,aveshagarwal/origin,spadgett/origin,juanvallejo/origin,markllama/origin,pecameron/origin,liggitt/origin,jsafrane/origin,juanvallejo/origin,spadgett/origin,jeremyeder/origin,akram/origin,csrwng/origin,PI-Victor/origin,sferich888/origin,imcsk8/origin,sdminonne/origin,kargakis/origin,anpingli/origin,coreydaley/origin,pweil-/origin,mkumatag/origin,enj/origin,kargakis/origin,ingvagabund/origin,luciddreamz/origin,liangxia/origin,markllama/origin,gabemontero/origin,sdminonne/origin,akram/origin,markllama/origin,hferentschik/origin,miminar/origin,mfojtik/origin,xiuwang/origin,ironcladlou/origin,linzhaoming/origin,JacobTanenbaum/origin,JacobTanenbaum/origin,luciddreamz/origin,mdshuai/origin,mkumatag/origin,dinhxuanvu/origin,ramr/origin,deads2k/origin,jsafrane/origin,spadgett/origin,jim-minter/origin,childsb/origin,hferentschik/origin,markllama/origin,luciddreamz/origin,tnozicka/origin,mfojtik/origin,imcsk8/origin,dinhxuanvu/origin,mkumatag/origin,csrwng/origin,luciddreamz/origin,dinhxuanvu/origin,liangxia/origin,imcsk8/origin,coreydaley/origin,PI-Victor/origin,liangxia/origin,mdshuai/origin,php-coder/origin,wjiangjay/origin,ironcladlou/origin,sallyom/origin,pweil-/origin,aveshagarwal/origin,aveshagarwal/origin,soltysh/origin,PI-Victor/origin,spadgett/origin,jeremyeder/origin,juanvallejo/origin,gabemontero/origin,php-coder/origin,anpingli/origin,juanvallejo/origin,kargakis/origin,linzhaoming/origin,jwhonce/origin,ironcladlou/origin,markllama/origin,luciddreamz/origin,childsb/origin,jwhonce/origin,kargakis/origin,deads2k/origin,liggitt/origin,legionus/origin,bparees/origin,ingvagabund/origin,jim-minter/origin,nak3/origin,jwhonce/origin,miminar/origin,deads2k/origin,jsafrane/origin,xiuwang/origin,imcsk8/origin,jim-minter/origin,pecameron/origin,dinhxuanvu/origin,legionus/origin,soltysh/origin,bparees/origin,ramr/origin,ramr/origin,nak3/origin,hroyrh/origin,liggitt/origin,mahak/origin,tnozicka/origin,sallyom/origin,liangxia/origin,php-coder/origin,liggitt/origin,pecameron/origin,hroyrh/origin,wjiangjay/origin,linzhaoming/origin,sjug/origin,PI-Victor/origin,csrwng/origin,ramr/origin,soltysh/origin,mdshuai/origin,wjiangjay/origin,jeremyeder/origin,linzhaoming/origin,miminar/origin,mdshuai/origin,jeremyeder/origin,bparees/origin,aveshagarwal/origin,jwhonce/origin,openshift/origin,jeremyeder/origin,tnozicka/origin,jwhonce/origin,pweil-/origin,hferentschik/origin,anpingli/origin,wjiangjay/origin,PI-Victor/origin,linzhaoming/origin,wjiangjay/origin,Miciah/origin,markllama/origin,luciddreamz/origin,tnozicka/origin,JacobTanenbaum/origin,Miciah/origin,legionus/origin,mfojtik/origin,hferentschik/origin,childsb/origin,tnozicka/origin,jwhonce/origin,aveshagarwal/origin