summaryrefslogtreecommitdiff
path: root/plugins/gitignore
diff options
context:
space:
mode:
authorPavol Juhas <pavol.juhas@gmail.com>2014-03-17 19:48:10 -0400
committerPavol Juhas <pavol.juhas@gmail.com>2014-03-17 19:48:10 -0400
commit6952105bfe1fd4121fd355dc5f8ec5e03de5541c (patch)
tree604e65e52df88e28f99f49b939aa9547eb009b1c /plugins/gitignore
parented19ffee5ecc0db6617c1ae753e515d60cb486c6 (diff)
parentca900216302aa1138c793971cf877b5d4e88fb06 (diff)
downloadzsh-6952105bfe1fd4121fd355dc5f8ec5e03de5541c.tar.gz
zsh-6952105bfe1fd4121fd355dc5f8ec5e03de5541c.tar.bz2
zsh-6952105bfe1fd4121fd355dc5f8ec5e03de5541c.zip
Merge branch 'master' of https://github.com/robbyrussell/oh-my-zsh
Diffstat (limited to 'plugins/gitignore')
-rw-r--r--plugins/gitignore/gitignore.plugin.zsh6
1 files 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