[Bash-completion-devel] Bug#551707: bash-completion: does not complete dlocate

David Paleino d.paleino at gmail.com
Sun Dec 27 16:54:16 UTC 2009


tags 551707 unreproducible
thanks

On Tuesday 20 October 2009 03:26:42, Norbert Preining wrote:
> Package: bash-completion
> Version: 1:1.1-1
> Severity: normal
> 
> Hi David,

Hello Norbert,
sorry for the late reply :)

> again me
> 
> dlocate /usr/sh<TAB><TAB>   ...nothing

Sorry, you must be doing something extremely wrong on your system.

  $ dlocate /usr/sh<TAB>

becomes

  $ dlocate /usr/share/

For this, I just installed dlocate, and didn't touch anything else. And no, we 
still don't have a dlocate completion :)

> Again, that would be solved by what I have reported in another bug, namely
> that bash-completion defaults to path completion if nothing else can be
> found ....

I believe this would involve changing each completion, providing "compgen -f" 
in COMPREPLY if nothing is found.

Have nice holidays!
David

-- 
 . ''`.   Debian developer | 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: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20091227/02c370ca/attachment-0001.pgp>


More information about the Bash-completion-devel mailing list