[Bash-completion-devel] Bug#463969: bash-completion: The bug seems to still present in 20080617.5
David Paleino
d.paleino at gmail.com
Wed Jun 25 12:27:09 UTC 2008
On Wed, 25 Jun 2008 21:23:10 +0900, Morita Sho wrote:
> Thank you.
> gdb completion now completes "foob[TAB]" to "foobar" as I expected.
>
> However it still not work in following case.
>
> $ mkdir sourcecode
> $ ls
> sourcecode
> $ 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.)
This is how gdb completion is intended to work -- commands have precedence over
anything else. It's more common doing:
$ gdb <command in $PATH>
than
$ gdb <directory with a name starting with the same letters as [..]>
I hope you get my point.
Kindly,
David
--
. ''`. Debian maintainer | http://wiki.debian.org/DavidPaleino
: :' : Linuxer #334216 --|-- http://www.hanskalabs.net/
`. `'` GPG: 1392B174 ----|---- http://snipr.com/qa_page
`- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20080625/280e9929/attachment.pgp
More information about the Bash-completion-devel
mailing list