feat(kubernetes): add krew kubectl plugin manager

This commit is contained in:
2021-08-30 22:44:38 +01:00
parent 230034642a
commit 65211fe1c8
2 changed files with 20 additions and 1 deletions

6
zshenv
View File

@@ -141,7 +141,11 @@ path_prepend "/usr/local/opt/gnu-getopt/bin"
export HOMEBREW_NO_ANALYTICS=1
# Kubernetes setup
export KUBECONFIG="$HOME/.kube/config:.kube/config"
export KUBECONFIG="$HOME/.kube/config"
if [ -d "$HOME/.krew" ]; then
export KREW_ROOT="$HOME/.krew"
path_append "$HOME/.krew/bin"
fi
# Use custom emacs install if available
path_prepend "/opt/emacs/bin"