feat: bash-completion, remove zsh

This commit is contained in:
ange 2024-06-26 22:52:06 +02:00
parent f2464c73f7
commit d4d3c1af55
Signed by: ange
GPG key ID: 9E0C4157BB7BEB1D
24 changed files with 41 additions and 1460 deletions

View file

@ -0,0 +1,6 @@
function _gi() {
mapfile -t COMPREPLY < <(compgen -W \
"$(curl -sfL https://www.toptal.com/developers/gitignore/api/list | tr ',' '\n')" \
-- "${COMP_WORDS[1]}")
}
complete -F _gi gi