Looks like there is some lack of necessary code. Take a look and compare: k|check) # Only complete if the previous entry on the command line is not # a package name. if [[ ${prev} == ${mode} ]]; then # Only installed packages can have their integrity verified. _pkgname -I $cur COMPREPLY=($(compgen -W "${COMPREPLY[@]} --help" -- ${cur})) fi ;; versus: s?(ize)) # Only complete if the previous entry on the command line is not # a package name. if [[ ${prev} == ${mode} || ${prev:0:1} == "-" ]]; then case $cur in -*) COMPREPLY=($(compgen -W "--help -b --bytes" -- $cur)) ;; *) # Only installed packages can have their size calculated. _pkgname -I $cur ;; esac fi ;; Patch in a moment ;)
Created attachment 214584 [details, diff] Patch for 'equery chec(k)' completion
Thanks, applied to trunk.
Thanks again for the patches. 20100613 is in the tree! + 13 Jun 2010; Jeremy Olexa <darkside@gentoo.org> + +gentoo-bashcomp-20100613.ebuild: + Version bump to fix bugs: 298919, 298916, 301582, 269498, 287092. Add + Gentoo Prefix support.