Commit a8efe61d authored by Robby Russell's avatar Robby Russell
Browse files

Merge pull request #2145 from futjikato/master

Added gitignore.io custom plugin
parents 61e3951e 9afb139d
function gi() { curl http://gitignore.io/api/$@ ;}
_gitignireio_get_command_list() {
curl -s http://gitignore.io/api/list | tr "," "\n"
}
_gitignireio () {
compset -P '*,'
compadd -S '' `_gitignireio_get_command_list`
}
compdef _gitignireio gi
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment