From 3b759c5dc926d0973d82fa1b8ffed45d770d20e8 Mon Sep 17 00:00:00 2001 From: Carlo Sala Date: Mon, 6 Mar 2023 11:25:47 +0100 Subject: fix(argocd): typo in filename --- plugins/argocd/argocd.plugin.zsh | 14 ++++++++++++++ plugins/argocd/gh.plugin.zsh | 14 -------------- 2 files changed, 14 insertions(+), 14 deletions(-) create mode 100644 plugins/argocd/argocd.plugin.zsh delete mode 100644 plugins/argocd/gh.plugin.zsh (limited to 'plugins/argocd') diff --git a/plugins/argocd/argocd.plugin.zsh b/plugins/argocd/argocd.plugin.zsh new file mode 100644 index 000000000..8de7b0238 --- /dev/null +++ b/plugins/argocd/argocd.plugin.zsh @@ -0,0 +1,14 @@ +# Autocompletion for argocd. +if (( ! $+commands[argocd] )); then + return +fi + +# If the completion file doesn't exist yet, we need to autoload it and +# bind it to `argocd`. Otherwise, compinit will have already done that. +if [[ ! -f "$ZSH_CACHE_DIR/completions/_argocd" ]]; then + typeset -g -A _comps + autoload -Uz _argocd + _comps[argocd]=_argocd +fi + +argocd completion zsh >| "$ZSH_CACHE_DIR/completions/_argocd" &| diff --git a/plugins/argocd/gh.plugin.zsh b/plugins/argocd/gh.plugin.zsh deleted file mode 100644 index 8de7b0238..000000000 --- a/plugins/argocd/gh.plugin.zsh +++ /dev/null @@ -1,14 +0,0 @@ -# Autocompletion for argocd. -if (( ! $+commands[argocd] )); then - return -fi - -# If the completion file doesn't exist yet, we need to autoload it and -# bind it to `argocd`. Otherwise, compinit will have already done that. -if [[ ! -f "$ZSH_CACHE_DIR/completions/_argocd" ]]; then - typeset -g -A _comps - autoload -Uz _argocd - _comps[argocd]=_argocd -fi - -argocd completion zsh >| "$ZSH_CACHE_DIR/completions/_argocd" &| -- cgit v1.2.3-70-g09d2