_gcc-config: remove dependencies to sed (pure zsh code now ;)) Change '(- :)'':profiles:_gcc_profile' to '(- :):profiles:_gcc_profile' to make it work (at least for me ;)). added local definition for profile _portage: add local definition to some vars _gentoolkit: add local definition for some vars remove dependencies to sed/grep (pure zsh code now ;)) (quite longer, can be optimize ;)) Change '(- :)'':' to '(- :):overlays:_overlays' to '(- :):overlays:_overlays' to make it work (at least for me ;)). I don't like the way the completion for qpkg is done, I'll have a look at it as soon as I'll have time. I also remove all "ugly" sed, cat, since zsh can do the stuff himself. Reproducible: Always Steps to Reproduce: 1. patch the function 2. try again ;) 3.
Created attachment 37515 [details, diff] patch for _portage
Created attachment 37516 [details, diff] patch for _gentoolkit
Created attachment 37517 [details, diff] patch for _gcc-config
Applied these patches. Thanks. When you finish prettifying qpkg please let me know.
Created attachment 37637 [details, diff] gcc-config patch atop baptux's patched gcc-config Thanks for the fixes baptux. _gcc-config: Your patch only lists the last profile for me. _gentoolkit: qpkg and equery It's slow because of this part: #Reading informations from Portage portdir="$(portageq portdir)" #pkgdir="$(portageq pkgdir)" portdir_overlay="$(portageq portdir_overlay)" If that section is reverted, it will be fast again. If there are any other problems with it, I'll be willing to fix them.
I'll pretify qpkg when I'll have time, and then open a new bug ;) (the goal is to make it able to at least do qpkg -q -I <something>, it can't do it know). For the rest, the fact is only that I hate seeing grep/cat/.../other stuff like that in zsh scripts, moreover in completion function. Completion should be pure zsh (I think)