silence mode of curl (#6898)

Uses silence mode of curl for better autocomplete.

Co-authored-by: Dominik Rimpf <dev@d-rimpf.de>
This commit is contained in:
Parham Alvani 2018-06-14 23:02:15 +04:30 committed by Marc Cornellà
parent fec0089cdd
commit 5efa5138bf

View File

@ -1,7 +1,7 @@
function gi() { curl -fL https://www.gitignore.io/api/${(j:,:)@} } function gi() { curl -fL https://www.gitignore.io/api/${(j:,:)@} }
_gitignoreio_get_command_list() { _gitignoreio_get_command_list() {
curl -fL https://www.gitignore.io/api/list | tr "," "\n" curl -sfL https://www.gitignore.io/api/list | tr "," "\n"
} }
_gitignoreio () { _gitignoreio () {