You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
function gi() { curl -fL https://www.gitignore.io/api/${(j:,:)@} } |
|
|
|
_gitignoreio_get_command_list() { |
|
curl -sfL https://www.gitignore.io/api/list | tr "," "\n" |
|
} |
|
|
|
_gitignoreio () { |
|
compset -P '*,' |
|
compadd -S '' `_gitignoreio_get_command_list` |
|
} |
|
|
|
compdef _gitignoreio gi
|
|
|