"plugins/grunt/README.md" did not exist on "fe4ac966fab20f9f29c0a9905372b4b52083ef24"
gitignore.plugin.zsh 275 Bytes
Newer Older
1
function gi() { curl -sL https://www.gitignore.io/api/${(j:,:)@} }
2

3
_gitignoreio_get_command_list() {
4
  curl -sL https://www.gitignore.io/api/list | tr "," "\n"
5
6
}

7
_gitignoreio () {
8
  compset -P '*,'
9
  compadd -S '' `_gitignoreio_get_command_list`
10
11
}

12
compdef _gitignoreio gi