Changed to use HTTPS.

The resource has been moved to use HTTPS, using HTTP will only return a HTTP 301 Moved Permanently message and thus not work.
This commit is contained in:
Hans Rødtang 2014-11-06 16:07:48 +01:00
commit 9e8e1558c6

View file

@ -1,7 +1,7 @@
function gi() { curl http://www.gitignore.io/api/$@ ;}
function gi() { curl https://www.gitignore.io/api/$@ ;}
_gitignireio_get_command_list() {
curl -s http://www.gitignore.io/api/list | tr "," "\n"
curl -s https://www.gitignore.io/api/list | tr "," "\n"
}
_gitignireio () {