Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: man completion
- X-seq: zsh-workers 50241
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Karel Balej <karelb@xxxxxxxxxxxxxxxxxxxx>
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: man completion
- Date: Mon, 16 May 2022 17:41:09 -0700
- Archived-at: <https://zsh.org/workers/50241>
- In-reply-to: <CAH+w=7Yt84uC0PVNvjoXjh3apmYMgvXNYeSUdqPcg9vaZ4DEKA@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <20220515152021.pumg2z3fmfga76vp@asfaloth> <CAH+w=7YMj_TnQ5711ZNDZSqPeYyV+4OuwgmtHFmj8qsroDT9BA@mail.gmail.com> <CAH+w=7Yt84uC0PVNvjoXjh3apmYMgvXNYeSUdqPcg9vaZ4DEKA@mail.gmail.com>
On Mon, May 16, 2022 at 12:41 PM Bart Schaefer
<schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> Here's a patch that attempts to (1) skip the cache entirely if the -M
> option appears
Hm, my "man man" says of -M
> ... overrides the $MANPATH environment variable and causes option -m to be ignored.
Whereas the AIX help string in _man says
> '-m[only search paths specified by -M/MANPATH]'
And of course on linux/macos/dragonfly/freebsd -m means to search
manuals of other operating systems, whereas on netbsd/openbsd it means
to append to MANPATH.
The last of those seems to be the only alternative actually supported.
First question, if the argument to -M has leading/doubled/trailing
colons, is it supposed to be treated like $MANPATH with respect to
adding the system paths? (It doesn't appear so, on Ubuntu 20 at
least).
Second, does anyone know where the manuals of other OSs would be found?
Third, what additional locations should be searched on AIX when -m is
not present? (And does anyone care?)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author