Commit b452cafb authored by Marc Cornellà's avatar Marc Cornellà
Browse files

Follow-redirect and silent mode curl throughout gitignore

This commit completes previous efforts and standardizes both curl commands
into using silent mode and following redirects in case the URL changes
again in the future.
parent 04d1428f
function gi() { curl -L https://www.gitignore.io/api/$@ ;} function gi() { curl -sL https://www.gitignore.io/api/$@ ;}
_gitignoreio_get_command_list() { _gitignoreio_get_command_list() {
curl -s https://www.gitignore.io/api/list | tr "," "\n" curl -sL https://www.gitignore.io/api/list | tr "," "\n"
} }
_gitignoreio () { _gitignoreio () {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment