Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: RFC: Recent macos lacks nroff and man needs a full path
- X-seq: zsh-workers 53350
- From: Jun T <takimoto-j@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: RFC: Recent macos lacks nroff and man needs a full path
- Date: Mon, 3 Feb 2025 16:44:20 +0900
- Archived-at: <https://zsh.org/workers/53350>
- In-reply-to: <CAH+w=7azVNp5KqnhFiC4RaZv=pLnvNRdBJrQdbivv1YjPdpXOg@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAH+w=7azVNp5KqnhFiC4RaZv=pLnvNRdBJrQdbivv1YjPdpXOg@mail.gmail.com>
> 2025/02/03 7:45, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> Is $ENV{'PWD'} reliable enough here?
(snip)
> +$args = "$ENV{'PWD'}/$manfile >$mantmp";
I think so, but the following also works
$args = "./$manfile >$mantmp";
since a relative path is also accepted.
I think your patch is necessary also on Linux, since
'man zshbuiltin.1' is, on Linux, equivalent to
'man 1 zshbuiltin' and displays the installed man page.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author