Fix gitignore curl, should follow redirects

This commit is contained in:
WooParadog 2014-10-09 13:17:35 +08:00
commit 08ff521510

View file

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