fix: Autocomplete for croc

This commit is contained in:
Sayantan Santra 2024-02-09 18:02:46 -06:00
parent b4b1483240
commit e860230d6d
Signed by: SinTan1729
GPG key ID: EB3E68BFBA25C85F

View file

@ -27,6 +27,8 @@ package() {
# Binary # Binary
install-binary "./${name}" install-binary "./${name}"
# Autocomplete # Autocomplete
curl -L "https://raw.githubusercontent.com/$git_repo/main/src/install/bash_autocomplete" -o "bash_autocomplete"
curl -L "https://raw.githubusercontent.com/$git_repo/main/src/install/zsh_autocomplete" -o "zsh_autocomplete"
install-completion zsh "${name}" <"./zsh_autocomplete" install-completion zsh "${name}" <"./zsh_autocomplete"
install-completion bash "${name}" <"./bash_autocomplete" install-completion bash "${name}" <"./bash_autocomplete"
} }