zsh-users
 help / color / mirror / code / Atom feed
From: Perry Smith <pedz@easesoftware.com>
To: dana <dana@dana.is>
Cc: Chris Nebel <c.nebel@mac.com>, zsh-users@zsh.org
Subject: Re: zsh built in help features
Date: Fri, 18 Oct 2019 07:11:37 -0500	[thread overview]
Message-ID: <33AAF538-777B-4BA3-8587-6DFF7CAE48FC@easesoftware.com> (raw)
In-Reply-To: <0E4DF046-A52D-43C4-9F65-A2C2B2CAF66F@dana.is>

YEA!!!

Thank you

I had found the _run-help script (is that what they are called?) and
found that HELPDIR needed to be set but then it does an
anonymous function with magic I don’t yet understand and
finally falls back to _man.  So I had gone down the path that
somehow “man” was suppose to do this — which didn’t make much
sense and it sure wasn’t working.

I hadn’t considered aliases.

Also… in my copies of _run-help, I don’t see any comments at all.



> On Oct 18, 2019, at 12:12 AM, dana <dana@dana.is> wrote:
> 
> On 17 Oct 2019, at 19:28, Perry Smith <pedz@easesoftware.com> wrote:
>> Apple must not have something set up right.  I’ll go find the run-help
>> script and see if I can fix it.
> 
> run-help is an alias for man by default. You need to run this (add it to your
> zshrc if you like):
> 
>  unalias run-help
>  autoload -Uz run-help
> 
> Then the function will be called instead.
> 
> This is documented in zshcontrib, and in the comments for run-help itself.
> 
> PS: I haven't updated to Catalina yet, but in the zsh shipped with Mojave
> Apple apparently misconfigured their @runhelpdir@, so in order to get it to
> work there you also had to set like HELPDIR=/usr/share/zsh/5.3/help. You might
> need to do the same in Catalina if it doesn't Just Work after loading it
> 
> dana
> 


  reply	other threads:[~2019-10-18 12:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-17 22:54 Perry Smith
2019-10-17 23:48 ` Pier Paolo Grassi
2019-10-17 23:54   ` Chris Nebel
2019-10-18  0:28     ` Perry Smith
2019-10-18  5:12       ` dana
2019-10-18 12:11         ` Perry Smith [this message]
2019-10-18 15:25           ` dana

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=33AAF538-777B-4BA3-8587-6DFF7CAE48FC@easesoftware.com \
    --to=pedz@easesoftware.com \
    --cc=c.nebel@mac.com \
    --cc=dana@dana.is \
    --cc=zsh-users@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).