From 4bd6ed1d2c594d7df2e73a753f178b0bdcc5d17d Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Sun, 2 Feb 2014 12:34:26 +0100 Subject: [PATCH] Update gitignore.plugin.zsh As per `http://www.gitignore.io/cli`'s news (in yellow at the top) there's now need to add `www` before the actual gitignore url. --- plugins/gitignore/gitignore.plugin.zsh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/gitignore/gitignore.plugin.zsh b/plugins/gitignore/gitignore.plugin.zsh index 332497cec..be037d87a 100644 --- a/plugins/gitignore/gitignore.plugin.zsh +++ b/plugins/gitignore/gitignore.plugin.zsh @@ -1,7 +1,7 @@ -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" + 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