mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-10 10:19:51 +00:00
Fix gitignore curl, should follow redirects
This commit is contained in:
committed by
Marc Cornellà
parent
69a0b280c7
commit
04d1428fcb
@@ -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() {
|
_gitignoreio_get_command_list() {
|
||||||
curl -s https://www.gitignore.io/api/list | tr "," "\n"
|
curl -s https://www.gitignore.io/api/list | tr "," "\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user