diff --git a/zsh/functions.zsh b/zsh/functions.zsh index 16c5be6..8e6a2aa 100644 --- a/zsh/functions.zsh +++ b/zsh/functions.zsh @@ -234,7 +234,7 @@ function gitcopy() { fi } function kubectl() { - CONTEXT=gcloud + CONTEXT=${CONTEXT:-gcloud} DEBUG=false finalopts=() while [[ $@ != "" ]] do @@ -283,7 +283,7 @@ function stern { command stern $finalopts -t --since 10m --kubeconfig=$HOME/.kube/${CONTEXT}_config } function helm() { - CONTEXT=gcloud + CONTEXT=${CONTEXT:-gcloud} DEBUG=false finalopts=() while [[ $@ != "" ]] do