On Tue, Jul 25, 2017 at 11:24:18PM +0100, Reuben Thomas wrote:
> I just noticed that man pages installed in ~/.local/share/man are not found
> by apropos. This appears to be because there’s no database for this
> directory. man finds the directory via the corresponding ~/.local/bin entry
> in PATH. It would be nice if apropos worked too.

Have you tried just running mandb as your user?  That should create a
suitable database.

> Since a workaround is to use man -K, how about defaulting -k to try
> the -K method where no database or whatis file is found?

-K searches rather a lot more of the page text than -k does, though, so
will often give dramatically different results.

-- 
Colin Watson                                       [cjwat...@debian.org]

Reply via email to