11 lines
206 B
Plaintext
11 lines
206 B
Plaintext
#compdef gi
|
|
|
|
_gitignoreio_get_command_list() {
|
|
curl -sfL https://www.toptal.com/developers/gitignore/api/list | tr "," "\n"
|
|
}
|
|
|
|
_gi () {
|
|
compset -P '*,'
|
|
compadd -S '' `_gitignoreio_get_command_list`
|
|
}
|