if [ -n "$BASH_VERSION" ]; then
if which kubectl 2>&1 > /dev/null ; then
source <(kubectl completion bash)
fi
alias k=kubectl
complete -F __start_kubectl k