<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>78922</bug_id>
          
          <creation_ts>2005-01-21 02:39 0000</creation_ts>
          <short_desc>equery completes on directories with the same name of a subcommand instead of the subcommand itself</short_desc>
          <delta_ts>2005-02-04 04:51:28 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Unspecified</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <keywords>InCVS</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>ka0ttic@gentoo.org</reporter>
          <assigned_to>shell-tools@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>ka0ttic@gentoo.org</who>
            <bug_when>2005-01-21 02:39:46 0000</bug_when>
            <thetext>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&lt;TAB&gt;  ==&gt;  equery files/</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ka0ttic@gentoo.org</who>
            <bug_when>2005-01-28 02:35:50 0000</bug_when>
            <thetext>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 &apos;b&apos;, changes -&gt; &apos;c&apos; and so forth).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ka0ttic@gentoo.org</who>
            <bug_when>2005-02-01 04:46:07 0000</bug_when>
            <thetext>Will be fixed next gentoo-bashcomp release.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ka0ttic@gentoo.org</who>
            <bug_when>2005-02-04 04:51:28 0000</bug_when>
            <thetext>pfft package name completion breakout is taking a lot longer than expected, so I went ahead and diff&apos;d the equery fixes from HEAD. 20050121-r1 is in the tree.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>