Browse Source

Fix misspellings in gitignore plugin

Alex Shaindlin 10 years ago
parent
commit
69a0b280c7
1 changed files with 4 additions and 4 deletions
  1. 4 4
      plugins/gitignore/gitignore.plugin.zsh

+ 4 - 4
plugins/gitignore/gitignore.plugin.zsh

@@ -1,12 +1,12 @@
 function gi() { curl https://www.gitignore.io/api/$@ ;}
 
-_gitignireio_get_command_list() {
+_gitignoreio_get_command_list() {
   curl -s https://www.gitignore.io/api/list | tr "," "\n"
 }
 
-_gitignireio () {
+_gitignoreio () {
   compset -P '*,'
-  compadd -S '' `_gitignireio_get_command_list`
+  compadd -S '' `_gitignoreio_get_command_list`
 }
 
-compdef _gitignireio gi
+compdef _gitignoreio gi