fixed URL on github.io

github.io moved to https and http returns 301 redirect
This commit is contained in:
Andrii Kostenko 2014-09-06 22:44:18 +03:00 committed by Marc Cornellà
parent 7f07facf41
commit b9a11b16fe

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