zsh: Dynamically ignore files for autocomplete

In the zshell you can use CORRECT_IGNORE_FILE to ignore files for spelling corrections (or autocorrect for commands). While handy, it is somewhat limited as it is global. Now, I wanted to ignore it only for git and not other commands. But I haven&rsquo;t found a way to only target git without having to make a wrapper around git (which I don&rsquo;t want to do). So I wrote an autoloaded function…