From: Michele Venturi <dardo82@gmail.com>
To: Philippe Troin <phil@fifi.org>
Cc: zsh-workers@zsh.org
Subject: Re: How to fix run-help-* functions?
Date: Mon, 13 Mar 2023 12:09:58 +0100 [thread overview]
Message-ID: <CA+Ds4Nt3Y+TEtk0VA9HHtv9kue7BH9fEKWXaDEOMJg70L69Q2A@mail.gmail.com> (raw)
In-Reply-To: <52b132094219bb41e854fbcb4939a58acae192b1.camel@fifi.org>
[-- Attachment #1: Type: text/plain, Size: 883 bytes --]
On Tue, Mar 7, 2023, 18:13 Philippe Troin <phil@fifi.org> wrote:
> On Tue, 2023-03-07 at 15:30 +0100, Michele Venturi wrote:
> > Just try "autoload run-help-sudo; run-help sudo" or "autoload run-
> > help-git; run-help git" etc. to see the error.
>
> What's wrong with run-help?
>
> % zsh -f
> % echo $ZSH_VERSION
> 5.8.1
> % export PAGER='head -n 5'
> % autoload run-help-git; run-help git
> GIT(1) Git Manual
> GIT(1)
>
> NAME
> git - the stupid content tracker
>
> % autoload run-help-sudo; run-help sudo
> SUDO(8) BSD System Manager's Manual
> SUDO(8)
>
> NAME
> sudo, sudoedit — execute a command as another user
>
> %
>
> Phil.
>
If you don't unalias run-help it runs man so it seems to
work, but doesn't use the function defined by the shell.
[-- Attachment #2: Type: text/html, Size: 1655 bytes --]
next prev parent reply other threads:[~2023-03-13 11:10 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-07 14:30 Michele Venturi
2023-03-07 17:13 ` Philippe Troin
2023-03-13 11:09 ` Michele Venturi [this message]
2023-03-07 17:22 ` Bart Schaefer
2023-03-07 17:31 ` Peter Stephenson
2023-03-07 17:40 ` Bart Schaefer
2023-03-07 18:34 ` Michele Venturi
2023-03-08 0:03 ` Bart Schaefer
2023-03-13 11:14 ` Michele Venturi
2023-03-13 16:06 ` Bart Schaefer
2023-03-13 18:19 ` Mikael Magnusson
2023-03-13 20:31 ` Bart Schaefer
2023-03-13 20:41 ` Bart Schaefer
2023-03-20 14:37 ` Michele Venturi
2023-03-21 1:05 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CA+Ds4Nt3Y+TEtk0VA9HHtv9kue7BH9fEKWXaDEOMJg70L69Q2A@mail.gmail.com \
--to=dardo82@gmail.com \
--cc=phil@fifi.org \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).