1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 13:50:09 +00:00

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

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"