Avoid using exa my mistake

This commit is contained in:
Marcus Noble 2020-11-25 17:24:10 +00:00
parent 7b57da7ac9
commit 17c24459cd

View File

@ -73,7 +73,7 @@ source <(kubectl completion zsh)
## Merge multiple kubeconfigs ## Merge multiple kubeconfigs
function join_by { local d=$1; shift; echo -n "$1"; shift; printf "%s" "${@/#/$d}"; } function join_by { local d=$1; shift; echo -n "$1"; shift; printf "%s" "${@/#/$d}"; }
KUBECONFIG="$HOME/.kube/config" KUBECONFIG="$HOME/.kube/config"
OTHER_CLUSTERS="$(join_by :$HOME/.kube/clusters/ $(echo $HOME/.kube/clusters/$(ls $HOME/.kube/clusters)))" OTHER_CLUSTERS="$(join_by :$HOME/.kube/clusters/ $(echo $HOME/.kube/clusters/$(/bin/ls $HOME/.kube/clusters)))"
export KUBECONFIG=$KUBECONFIG:$OTHER_CLUSTERS export KUBECONFIG=$KUBECONFIG:$OTHER_CLUSTERS
## Kubectl exec ## Kubectl exec