浏览代码

Merge branch 'low-ghost-patch-1'

Close #4723
Marc Cornellà 8 年之前
父节点
当前提交
e5f5d7941d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      plugins/gitignore/gitignore.plugin.zsh

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

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