浏览代码

Fix URL to gi (gitignore) function

Previous URL doesn't seem to work because the host requires a www
prefix.
Brian McKenna 10 年之前
父节点
当前提交
1df7d01618
共有 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 http://gitignore.io/api/$@ ;}
+function gi() { curl http://www.gitignore.io/api/$@ ;}
 
 _gitignireio_get_command_list() {
   curl -s http://gitignore.io/api/list | tr "," "\n"