After struggling to get tab completion for git setup on osx, I've gotten some odd errors that I can't find the source too.
zsh:12: command not found: ___main
_default:compcall:12: can only be called from completion function
I'm not sure what is causing the error as everything is setup correctly.
zstyle ':completion:*:*:git:*' script ~/.git-completion.bash
autoload -U compinit && compinit
zmodload -i zsh/complist
source ~/.git-completion.zsh
Any ideas?