gentoo / gentoo-zsh-completions

[ORIGIN] Gentoo specific zsh completion support (ebuild, emerge, eselect, ...)
Other
36 stars 19 forks source link

Remove duplicates in "repos" for update_available #3

Closed birkenfeld closed 9 years ago

birkenfeld commented 9 years ago

Since switching to repos.conf, completion of available packages has become unbearably slow. I did a bit of debugging, and the reason is that _gentoo_repos returns quite a few duplicates, resulting in multiple globbing searches through the portage tree and overlays.

This change is the easiest fix I found, although it does not fix the problem at the root.