Browse Source

Merge pull request #2544 from fduch2k/patch-1

Update gitignore.plugin.zsh
Robby Russell 11 years ago
parent
commit
2eb68a4e29
1 changed files with 2 additions and 2 deletions
  1. 2 2
      plugins/gitignore/gitignore.plugin.zsh

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

@@ -1,7 +1,7 @@
 function gi() { curl http://www.gitignore.io/api/$@ ;}
 
 _gitignireio_get_command_list() {
-  curl -s http://gitignore.io/api/list | tr "," "\n"
+  curl -s http://www.gitignore.io/api/list | tr "," "\n"
 }
 
 _gitignireio () {
@@ -9,4 +9,4 @@ _gitignireio () {
   compadd -S '' `_gitignireio_get_command_list`
 }
 
-compdef _gitignireio gi
+compdef _gitignireio gi