completion for k3s if present

This commit is contained in:
Maciej Krok 2022-12-15 06:33:42 +01:00 committed by Paweł Płazieński
parent 1df04eab32
commit 80728788c2

6
zshrc
View File

@ -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 ------------------------------------