1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2025-12-06 07:20:40 +01:00

Fix misspellings in gitignore plugin

This commit is contained in:
Alex Shaindlin
2014-10-15 09:33:49 -04:00
committed by Marc Cornellà
parent b9a11b16fe
commit 69a0b280c7

View File

@@ -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