mirror of
https://github.com/SinTan1729/lure-repo.git
synced 2024-12-25 22:38:36 -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"
|
install-manual "./${name}.8"
|
||||||
# completions
|
# completions
|
||||||
if [ $(echo $(fish --version | awk '{print $3}')$'\n'3.4.0 | sort -V | head -n1) != '3.4.0' ]; then
|
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
|
fi
|
||||||
install-completion zsh "${name}" | "${name}" --gen-completion zsh
|
"${name}" --gen-completion zsh | install-completion zsh "${name}"
|
||||||
install-completion bash "${name}" | "${name}" --gen-completion bash
|
"${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"
|
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