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
signature.asc
Description: PGP signature
_______________________________________________ Bash-completion-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel
