Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78922 - equery completes on directories with the same name of a subcommand instead of the subcommand itself
Summary: equery completes on directories with the same name of a subcommand instead of...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-01-21 02:39 UTC by Aaron Walker (RETIRED)
Modified: 2005-02-04 04:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Walker (RETIRED) gentoo-dev 2005-01-21 02:39:46 UTC
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/
Comment 1 Aaron Walker (RETIRED) gentoo-dev 2005-01-28 02:35:50 UTC
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).
Comment 2 Aaron Walker (RETIRED) gentoo-dev 2005-02-01 04:46:07 UTC
Will be fixed next gentoo-bashcomp release.
Comment 3 Aaron Walker (RETIRED) gentoo-dev 2005-02-04 04:51:28 UTC
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.