From mboxrd@z Thu Jan 1 00:00:00 1970 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=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: (qmail 21732 invoked from network); 6 Apr 2020 01:15:20 -0000 Received-SPF: pass (primenet.com.au: domain of zsh.org designates 203.24.36.2 as permitted sender) receiver=inbox.vuxu.org; client-ip=203.24.36.2 envelope-from= Received: from ns1.primenet.com.au (HELO primenet.com.au) (203.24.36.2) by inbox.vuxu.org with UTF8ESMTPZ; 6 Apr 2020 01:15:20 -0000 Received: (qmail 23462 invoked by alias); 6 Apr 2020 01:15:13 -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: 24757 Received: (qmail 5922 invoked by uid 1010); 6 Apr 2020 01:15:13 -0000 X-Qmail-Scanner-Diagnostics: from 2.smtp.34sp.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.2/25772. spamassassin: 3.4.4. Clear:RC:0(46.183.9.2):SA:0(-1.9/5.0):. Processed in 2.430911 secs); 06 Apr 2020 01:15:13 -0000 X-Envelope-From: dave@tty1.uk X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at tty1.uk does not designate permitted sender hosts) Date: Mon, 6 Apr 2020 02:14:28 +0100 From: Dave Woodfall To: zsh-users@zsh.org Subject: Re: Separate sections for manuals: what am I missing? Message-ID: <20200406011428.GA30137@blackswan.r0t.uk> Mail-Followup-To: zsh-users@zsh.org References: <20200406002612.GE9554@blackswan.r0t.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Authenticated-As: dave@unrealize.co.uk X-OriginalSMTPIP: 82.40.94.2 X-34spcom-MailScanner-Information: Please contact the ISP for more information X-34spcom-MailScanner-ID: 41E0B58170B.A3C0B X-34spcom-MailScanner: Found to be clean X-34spcom-MailScanner-SpamCheck: not spam, SpamAssassin (score=-10, required 6.5, autolearn=disabled, X34SP_OVERRIDE -10.00) X-34spcom-MailScanner-From: dave@tty1.uk On 2020-04-05 20:02, dana put forth the proposition: > On 5 Apr 2020, at 19:26, Dave Woodfall 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., > where 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