mirror of
https://github.com/SinTan1729/lure-repo.git
synced 2024-12-25 06:28:37 -06:00
fix: Completions for topgrade
This commit is contained in:
parent
84bc2b595a
commit
95c1b6864c
1 changed files with 3 additions and 3 deletions
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue