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

Attachment: signature.asc
Description: PGP signature

Reply via email to