[Bash-completion-devel] Towards dynamic completion loading

Igor Murzov e-mail at date.by
Mon Nov 14 22:00:13 UTC 2011


On Mon, 14 Nov 2011 21:54:47 +0200
Ville Skyttä <ville.skytta at iki.fi> wrote:

> On 11/14/2011 10:21 PM, Igor Murzov wrote:
> > On Wed, 26 Oct 2011 20:47:43 +0300
> > Ville Skyttä <ville.skytta at iki.fi> wrote:
> > 
> >> On 10/26/2011 08:10 PM, Ville Skyttä wrote:
> >>> On 10/26/2011 10:24 AM, David Paleino wrote:
> >>>
> >>>> Broken dynamic loading with meta-commands?
> >>>
> >>> Yes, definitely, thanks for pointing it out - I haven't considered this
> >>> case at all but I'm looking into it right now.
> >>
> >> Should be fixed in commit 22f8885.
> > 
> > Ville, can you explain how this code should work?
> 
> Well, I think the comments in it should explain it.  But as you noted,
> something's broken -- I think it's not worth exploring exactly what is
> but we can just drop the "load completion for full path" case and
> simplify it quite a bit now that we no longer have the sysv special case
> in completion loader (it always operates on just basenames now).  Will
> look into it in a jiffy.

Thanks! This fixed the issue for me.
Something is still broken here, though:

 $ nice /us<TAB> 

works, but

 $ /usr/bin/nice /us<TAB>

doesn't.


-- Igor



More information about the Bash-completion-devel mailing list