Browse files

Update gitignore.plugin.zsh

Fix URL to gi (gitignore) function in _gitignireio_get_command_list function
  • Loading branch information...
1 parent 861290e commit bd4f7e24ea1451eeab351b0a68ac3729213b369b @fduch2k fduch2k committed Feb 19, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 plugins/gitignore/gitignore.plugin.zsh
View
4 plugins/gitignore/gitignore.plugin.zsh
@@ -1,12 +1,12 @@
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 () {
compset -P '*,'
compadd -S '' `_gitignireio_get_command_list`
}
-compdef _gitignireio gi
+compdef _gitignireio gi

0 comments on commit bd4f7e2

Please sign in to comment.