Fix problem with redirect on http.

gitignore.io now redirects from http to https. Make https the default now.
This commit is contained in:
Seth Mason 2014-09-15 16:29:30 -07:00
commit 2efcc94f12

View file

@ -1,4 +1,4 @@
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"