Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update gitignore.plugin.zsh

Fix URL to gi (gitignore) function in _gitignireio_get_command_list function
  • Loading branch information...
commit bd4f7e24ea1451eeab351b0a68ac3729213b369b 1 parent 861290e
Alexander Hramov fduch2k authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 plugins/gitignore/gitignore.plugin.zsh
4 plugins/gitignore/gitignore.plugin.zsh
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.