From 0ab34484d0ca46cb4cdf4038a4f2ef0d552a9724 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Fri, 18 Oct 2024 12:14:46 +0100 Subject: [PATCH] chore(shell/kubernetes): add completion setup for helm and helmfile --- zsh/kubernetes.zsh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/zsh/kubernetes.zsh b/zsh/kubernetes.zsh index 7277d97..1f20343 100644 --- a/zsh/kubernetes.zsh +++ b/zsh/kubernetes.zsh @@ -47,3 +47,11 @@ fi if command-exists kubens; then _setup-kubectx-completion kubens fi + +if command-exists helm; then + setup-completions helm "$(command-path helm)" helm completion zsh +fi + +if command-exists helmfile; then + setup-completions helmfile "$(command-path helmfile)" helmfile completion zsh +fi