change gitignore.io url to https

fix 301 redirection
This commit is contained in:
Nic West 2014-09-24 21:25:14 +01:00
commit 06c9a66e04

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