Fix gitignore curl, should follow redirects

This commit is contained in:
WooParadog 2014-10-09 13:17:35 +08:00 committed by Marc Cornellà
parent 69a0b280c7
commit 04d1428fcb
1 changed files with 1 additions and 1 deletions

View File

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