Bug 78922 - equery completes on directories with the same name of a subcommand instead of the subcommand itself
|
Bug#:
78922
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: All
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: shell-tools@gentoo.org
|
Reported By: ka0ttic@gentoo.org
|
|
Component: Unspecified
|
|
|
URL:
|
|
Summary: equery completes on directories with the same name of a subcommand instead of the subcommand itself
|
|
Keywords: InCVS
|
|
Status Whiteboard:
|
|
Opened: 2005-01-21 02:39 0000
|
When $COMP_CWORD == 1, and a directory (in ./) has the same name as one of the
subcommands, _equery() will choose the directory over the subcommand.
Eg:
$ ecd vixie
$ equery fil<TAB> ==> equery files/
genone just informed me of another equery completion bug; posting here as a
reminder to myself, so I can kill both of these birdies with one stone.
equery needs to recognize (but not necessarily complete on) the short
subcommands (eg. belongs can also be 'b', changes -> 'c' and so forth).
Will be fixed next gentoo-bashcomp release.
pfft package name completion breakout is taking a lot longer than expected, so
I went ahead and diff'd the equery fixes from HEAD. 20050121-r1 is in the tree.