[Bash-completion-devel] Bug#463969: bash-completion: The bug seems to still present in 20080617.5

Morita Sho morita-pub-en-debian at inz.sakura.ne.jp
Wed Jun 25 12:23:10 UTC 2008

On 06/25/2008 03:59 PM, David Paleino wrote:
> This seemed to be intended:
> complete -F _gdb $filenames gdb
> Changing it to:
> complete -F _gdb $default gdb
> Seems to solve it.
> I've committed the change to our repository, but I'm not sure when the new
> version will be released.

Thank you.
gdb completion now completes "foob[TAB]" to "foobar" as I expected.

However it still not work in following case.

$ mkdir sourcecode
$ ls
$ gdb sour[TAB]
     => completes "source". I want to complete "sourcecode".

It seems the completion does not work as expected when the completing word 
matches any command name. ("source" is a bash's builtin command.)


Morita Sho <morita-pub-en-debian at inz.sakura.ne.jp>

More information about the Bash-completion-devel mailing list