[Bash-completion-devel] Bug#623880: Completions for "man" not made available

David Paleino dapal at debian.org
Sun Apr 24 15:01:45 UTC 2011


On Sun, 24 Apr 2011 04:53:32 -0700, Josh Triplett wrote:

> On Sun, Apr 24, 2011 at 09:00:53AM +0200, David Paleino wrote:
> > Quick workaround:
> > 
> >   ln -s /usr/share/bash-completion/completions/man /var/lib/bash-completion/
> > 
> > In the meanwhile, I'll add man-db, and other missing completions, to a
> > "whitelist", so that they always get loaded. At least I don't introduce
> > regressions :)
> 
> That doesn't make sense; man-db provides a command "man", so shoudn't
> that cause bash-completion to provide the completions for "man"?

No, because the /usr/share/bash-completion/completions/man doesn't use the
"have man" syntax, from which /usr/share/bash-completion/completions/compdict
is generated, which is used to look for completions to install.

As I said elsewhere, it's not completely foolproof yet :)

David

-- 
 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://deb.li/dapal
   `-   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: 198 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20110424/8e592e4c/attachment.pgp>


More information about the Bash-completion-devel mailing list