Use https instead of http

Request to http redirects to https so either add -L to curl to follow redirects or go directly to https.
This commit is contained in:
David Jelić 2014-10-29 20:57:12 +01:00
commit bbc4e7c329

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 () {