summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Hramov <alexander.hramov@gmail.com>2014-02-19 15:08:47 +0300
committerAlexander Hramov <alexander.hramov@gmail.com>2014-02-19 15:08:47 +0300
commitbd4f7e24ea1451eeab351b0a68ac3729213b369b (patch)
treebcef9cc99f4c4f5485aafda7d2164e1f60e226ea
parent861290e40b74b090495182f2f3730a27896b4dc5 (diff)
downloadzsh-bd4f7e24ea1451eeab351b0a68ac3729213b369b.tar.gz
zsh-bd4f7e24ea1451eeab351b0a68ac3729213b369b.tar.bz2
zsh-bd4f7e24ea1451eeab351b0a68ac3729213b369b.zip
Update gitignore.plugin.zsh
Fix URL to gi (gitignore) function in _gitignireio_get_command_list function
-rw-r--r--plugins/gitignore/gitignore.plugin.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/gitignore/gitignore.plugin.zsh b/plugins/gitignore/gitignore.plugin.zsh
index be3c3a635..be037d87a 100644
--- a/plugins/gitignore/gitignore.plugin.zsh
+++ b/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 \ No newline at end of file
+compdef _gitignireio gi