浏览代码

silence mode of curl (#6898)

Uses silence mode of curl for better autocomplete.

Co-authored-by: Dominik Rimpf <dev@d-rimpf.de>
Parham Alvani 6 年之前
父节点
当前提交
5efa5138bf
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      plugins/gitignore/gitignore.plugin.zsh

+ 1 - 1
plugins/gitignore/gitignore.plugin.zsh

@@ -1,7 +1,7 @@
 function gi() { curl -fL https://www.gitignore.io/api/${(j:,:)@} }
 
 _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 () {