From b49aa0be3da699482268a0336799aad9ead9a8cc Mon Sep 17 00:00:00 2001 From: dabruh <11458706-dabruh@users.noreply.gitlab.com> Date: Tue, 12 Dec 2023 08:23:26 +0100 Subject: [PATCH] Add GitHub CLI completion --- .config/zsh/completion | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.config/zsh/completion b/.config/zsh/completion index 5de8212..7a69e03 100644 --- a/.config/zsh/completion +++ b/.config/zsh/completion @@ -2,8 +2,9 @@ # Auto-complete section autoload bashcompinit && bashcompinit -command -v kubectl >/dev/null && . <(kubectl completion zsh) && complete -F __start_kubectl k -command -v velero >/dev/null && . <(velero completion zsh) && complete -F __start_velero v -command -v helm >/dev/null && . <(helm completion zsh) && complete -F _helm h command -v flux >/dev/null && . <(flux completion zsh) && complete -F _flux f +command -v gh >/dev/null && . <(gh completion -s zsh) && complete -F _gh +command -v helm >/dev/null && . <(helm completion zsh) && complete -F _helm h +command -v kubectl >/dev/null && . <(kubectl completion zsh) && complete -F __start_kubectl k command -v kubectl-ctx >/dev/null && complete -W "$(kubectl-ctx)" kubectl-ctx +command -v velero >/dev/null && . <(velero completion zsh) && complete -F __start_velero v