From 95c1b6864c95326032b064d9ba40137e40407779 Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Tue, 12 Sep 2023 17:15:48 -0500 Subject: [PATCH] fix: Completions for topgrade --- topgrade/lure.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/topgrade/lure.sh b/topgrade/lure.sh index 1e9625a..4e3aad5 100644 --- a/topgrade/lure.sh +++ b/topgrade/lure.sh @@ -22,10 +22,10 @@ package() { install-manual "./${name}.8" # completions if [ $(echo $(fish --version | awk '{print $3}')$'\n'3.4.0 | sort -V | head -n1) != '3.4.0' ]; then - install-completion fish "${name}" | "${name}" --gen-completion fish + "${name}" --gen-completion fish | install-completion fish "${name}" fi - install-completion zsh "${name}" | "${name}" --gen-completion zsh - install-completion bash "${name}" | "${name}" --gen-completion bash + "${name}" --gen-completion zsh | install-completion zsh "${name}" + "${name}" --gen-completion bash | install-completion bash "${name}" echo "Please add 'no_self_update = true' to your 'topgrade.toml' file to disable self updates, as it won't work with this installation" }