From d977e4bdb909f8e175823630b46939a8c7117a98 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sun, 9 May 2021 14:27:33 +0100 Subject: [PATCH] feat(kubernetes): add kube-linter CLI tool --- zsh/kubernetes.zsh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zsh/kubernetes.zsh b/zsh/kubernetes.zsh index 46618b3..0e65fba 100644 --- a/zsh/kubernetes.zsh +++ b/zsh/kubernetes.zsh @@ -7,12 +7,15 @@ alias hl="helm" alias mk="minikube" if command-exists kubectl; then - # lazy-load kubectl setup + # lazy-load kubectl completion _kubectl() { unset -f _kubectl eval "$(command kubectl completion zsh)" } + zinit ice wait lucid as'program' from'gh-r' + zinit light stackrox/kube-linter + zinit ice wait lucid as'program' from'gh-r' mv'kind-* -> kind' \ atclone'./kind completion zsh > _kind' atpull'%atclone' zinit light kubernetes-sigs/kind