From 2760b6758fd915b6476604090ad0a4f069d53b64 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Mon, 15 Jan 2024 09:51:13 +0100 Subject: [PATCH] Move kubectl completion --- templates/zshrc.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/zshrc.j2 b/templates/zshrc.j2 index 54227b8..dbb7b5f 100644 --- a/templates/zshrc.j2 +++ b/templates/zshrc.j2 @@ -118,7 +118,6 @@ if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)" fi # Completions -source <(kubectl completion zsh) h=( $(get_drive_servers) ) 2>/dev/null if [[ $#h -gt 0 ]]; then zstyle ':completion:*:ssh:*' hosts $h @@ -130,3 +129,4 @@ fi # Initialize the autocompletion autoload -Uz compinit && compinit -i +source <(kubectl completion zsh)