Dave Parrish

talkings:

I found many posts relating complaints about how painfully slow git auto-completion can be in large repositories. There were various suggested patches and suggestions to load the latest zsh. Maybe one of those things would work, but all I really want is for it to complete the names of branches and…

Great post, it helped me to fix my slow git completion in zsh.  I found that the quote characters were wrong though.  I need to use ’ instead of ’ around ‘local files’.

__git_files () { 
    _wanted files expl ‘local files’ _files 
}

Blog comments powered by Disqus