From ee2f907834d0d3a930083a605a665f53a42db374 Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Sat, 16 Apr 2022 14:47:28 +0200 Subject: [PATCH] zsh: eksctl completion --- .zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.zshrc b/.zshrc index e0e594e..4871b26 100644 --- a/.zshrc +++ b/.zshrc @@ -157,6 +157,11 @@ export FZF_DEFAULT_COMMAND='fd --type f --hidden --follow --exclude .git' ## direnv eval "$(direnv hook zsh)" +## eksctl +if [ ! -f "${fpath[1]}/_eksctl" ]; then + command -v eksctl >/dev/null 2>&1 && eksctl completion zsh > "${fpath[1]}/_eksctl" +fi + ## Kubernetes command -v kubectl >/dev/null 2>&1 && kubectl completion zsh > "${fpath[1]}/_kubectl" export PATH=$HOME/.krew/bin:$PATH