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
1 changed files with 2 additions and 0 deletions

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"
} }