From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id d0fd967c for ; Fri, 18 Oct 2019 15:26:20 +0000 (UTC) Received: (qmail 14968 invoked by alias); 18 Oct 2019 15:26:11 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 24362 Received: (qmail 15022 invoked by uid 1010); 18 Oct 2019 15:26:11 -0000 X-Qmail-Scanner-Diagnostics: from mail-il1-f176.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.0/25601. spamassassin: 3.4.2. Clear:RC:0(209.85.166.176):SA:0(-1.9/5.0):. Processed in 2.866558 secs); 18 Oct 2019 15:26:11 -0000 X-Envelope-From: dana@dana.is X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.166.176 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dana-is.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=G/sJ2YjDnhJkitjix4ybrcvD06jquPpzKfLNsTPGUXM=; b=VAk8tO0BM7YRPmE1fSwXV0Lpem/yNoiiakbisC8xymGbQt9GJXFfU5EoWGwO/V9wvO Q7q9jSYi48p2LnwftqUTgUZToRljUSE8jHU/lZxQS5WXaz5Ti4qXbCSc6A+vq2h29FFw c/Rs2jEtdDq6n7kkERFSdJO49oE9e8u92UH2cj/a2ZvHKqWwYNDUZQJV35nmekl1AVJR 3eeQT1fT6Us5ljETxlQ79Ic50VCp2CI9vxt5M07AfTgkQw53keiK1kj3/2G3KgLFJslf ir7iGkJNfX8O70uxA3wguapJgAnL2rb0w6c0QgxMaX11ZzNowdOthcE9E237S+IXiDPF BOEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=G/sJ2YjDnhJkitjix4ybrcvD06jquPpzKfLNsTPGUXM=; b=nJ4jHCAHRxX9OQW5kTti5JVBVe3uxO2GWXrLBIitu+XwzNIKISgr1/v9HP16LVmABK TA0MsmQifmQxQqQtgocpxI2MYbZXv+0wyLn500NDBTXm5fQFmSy+/hBYUK9dCgAkAFKd CTkNpdFw/92wHEPJsKRHA+PoxlQDveoBjeTb69kFMkYzsKm0rSYDzZckJ1bbOBylMvxE u9H40r/Xr8VfC6Y+wnK1QMqhlVt9ZFpTYIZlZ/38NcelDqkPLWPsf2tohJjjsOq6/Oe/ 6usxQMX6sPEo1gQgzMpJbyco9QGbrixb7pPoiXoGtM/hTK7aX842A8so53D2cJdpBu8M pChA== X-Gm-Message-State: APjAAAXhL9BX172rPdRp6795RpcDST67g20mZq+NZF/XkUJcpiKLohDc zUyDOaiNzHt01qYTO2VntMvtlA== X-Google-Smtp-Source: APXvYqwnt63kCL4rFmQTOisA9w4sZ66ventI9JrAE/diqZBmiG4sUERT57LJqkwtIKCUH+pMvafKlQ== X-Received: by 2002:a92:460e:: with SMTP id t14mr11562633ila.139.1571412335029; Fri, 18 Oct 2019 08:25:35 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: zsh built in help features From: dana In-Reply-To: <33AAF538-777B-4BA3-8587-6DFF7CAE48FC@easesoftware.com> Date: Fri, 18 Oct 2019 10:25:33 -0500 Cc: Chris Nebel , zsh-users@zsh.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <207E1F44-030C-4A1A-B670-B5B07429A623@mac.com> <7221B6B9-5FC9-42B0-A90F-9AA066BE111F@easesoftware.com> <0E4DF046-A52D-43C4-9F65-A2C2B2CAF66F@dana.is> <33AAF538-777B-4BA3-8587-6DFF7CAE48FC@easesoftware.com> To: Perry Smith X-Mailer: Apple Mail (2.3445.104.11) On 18 Oct 2019, at 07:11, Perry Smith wrote: > 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=E2=80=99t yet understand and > finally falls back to _man. The functions prefixed with _ are completion functions. The files for = the functions themselves are located elsewhere. To find one you can either = run `whence -v` on it (but it must be loaded first), or do something like = the following: # Print matching file paths print -rl - $^fpath/**/run-help(N) # Print contents of matching files cat -- $^fpath/**/run-help(N) (whence/which/where can also print the contents, but again only after = the function is loaded, and they will strip all of the comments and = formatting) dana