mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
Updated gitignore plugin as per website notice
The notice at http://www.gitignore.io/cli is reproduced verbatim below for future reference: On January 6th, 2014 gitignore.io moved to Heroku which doesn't allow naked domains. If your gi command is not functioning, update your script to point to www.gitignore.io instead of gitignore.io
This commit is contained in:
parent
d485044169
commit
b9a5edaa68
1 changed files with 3 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
|||
function gi() { curl http://gitignore.io/api/$@ ;}
|
||||
function gi() { curl http://www.gitignore.io/api/$@ ;}
|
||||
|
||||
_gitignireio_get_command_list() {
|
||||
curl -s http://gitignore.io/api/list | tr "," "\n"
|
||||
curl -s http://www.gitignore.io/api/list | tr "," "\n"
|
||||
}
|
||||
|
||||
_gitignireio () {
|
||||
|
|
@ -9,4 +9,4 @@ _gitignireio () {
|
|||
compadd -S '' `_gitignireio_get_command_list`
|
||||
}
|
||||
|
||||
compdef _gitignireio gi
|
||||
compdef _gitignireio gi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue