Commit 69a0b280 authored by Alex Shaindlin's avatar Alex Shaindlin Committed by Marc Cornellà
Browse files

Fix misspellings in gitignore plugin

parent b9a11b16
function gi() { curl https://www.gitignore.io/api/$@ ;} function gi() { curl https://www.gitignore.io/api/$@ ;}
_gitignireio_get_command_list() { _gitignoreio_get_command_list() {
curl -s https://www.gitignore.io/api/list | tr "," "\n" curl -s https://www.gitignore.io/api/list | tr "," "\n"
} }
_gitignireio () { _gitignoreio () {
compset -P '*,' compset -P '*,'
compadd -S '' `_gitignireio_get_command_list` compadd -S '' `_gitignoreio_get_command_list`
} }
compdef _gitignireio gi compdef _gitignoreio gi
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