From: Dave Woodfall <dave@tty1.uk>
To: zsh-users@zsh.org
Subject: Re: Separate sections for manuals: what am I missing?
Date: Mon, 6 Apr 2020 02:14:28 +0100 [thread overview]
Message-ID: <20200406011428.GA30137@blackswan.r0t.uk> (raw)
In-Reply-To: <FA7C85D3-65A6-4EBC-8ACD-2319F02BE009@dana.is>
On 2020-04-05 20:02,
dana <dana@dana.is> put forth the proposition:
> On 5 Apr 2020, at 19:26, Dave Woodfall <dave@tty1.uk> wrote:
> > However, selecting any section manual will always gets the first
> > section manual listed.
> >
> > Do I need to add some other option so that I get can get e.g.
> > printf(3)?
>
> I think you want insert-sections. I guess it's not actually in the
> documentation (i'll add it later), but the tag takes the form manuals.<sect>,
> where <sect> is a pattern matching the section(s) you want to insert. So you
> can just do this if you want to insert all sections:
>
> zstyle ':completion:*:manuals.*' insert-sections true
Thanks, that solves it. One question though: Is it possible to tell
when you're in a manual select menu? I suppose I could test if the
first word is `man'.
--
Dave
The antibloat squad!
For those interested in no bloat, minimal desktop Linux
gopher://tty1.uk/1/?minimal-linux
http://tty1.uk/minimal-linux
#minimallinux @ chat.freenode.net
next prev parent reply other threads:[~2020-04-06 1:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-06 0:26 Dave Woodfall
2020-04-06 1:00 ` Bart Schaefer
2020-04-06 1:02 ` dana
2020-04-06 1:14 ` Dave Woodfall [this message]
2020-04-06 1:45 ` dana
2020-04-06 5:26 ` Dave Woodfall
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=20200406011428.GA30137@blackswan.r0t.uk \
--to=dave@tty1.uk \
--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).