diff --git a/zshrc b/zshrc index ca235e7..9fb49cc 100644 --- a/zshrc +++ b/zshrc @@ -670,6 +670,12 @@ if [[ $commands[kubectl] ]]; then source <(kubectl completion zsh); fi +# If k3s is present, load completions from it. +# This must be done after compinit was called +if [[ $commands[k3s] ]]; then + source <(k3s completion zsh); +fi + zmodload zsh/complist #---------------------------------- Addons ------------------------------------