zsh-users
 help / color / mirror / code / Atom feed
From: Frank Terbeck <frank.terbeck@rwth-aachen.de>
To: zsh users <zsh-users@sunsite.dk>
Subject: menuselection with manpages
Date: Wed, 17 May 2006 17:10:15 +0200	[thread overview]
Message-ID: <20060517151015.GK7968@fsst.voodoo.lan> (raw)

Howdy,
I'm using completion for the 'man' command with menuselection (sorted
by sections). Now, if I enter 'man cron<TAB>' I am dropped into a
selection for crontab(1) crontab(5) and cron(8).

It looks like this:

[snip]
% man crontab
- manual page, section 1 -
crontab
- manual page, section 5 -
crontab
- manual page, section 8 -
cron
[snap]

If I want to read crontab(5) and choose the crontab entry from the 5th
section in the menu, it will be completed as 'man crontab' which would
display crontab(1).

How would I get the completion to add the section to the completion,
like 'man 5 crontab'?

Regards, Frank


             reply	other threads:[~2006-05-17 15:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-17 15:10 Frank Terbeck [this message]
2006-05-18 22:09 ` Frank Terbeck
2006-05-19  3:28   ` Bart Schaefer
2006-05-19  4:38     ` Frank Terbeck
2006-05-19  8:31   ` Oliver Kiddle
2006-05-20  8:10     ` Frank Terbeck

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=20060517151015.GK7968@fsst.voodoo.lan \
    --to=frank.terbeck@rwth-aachen.de \
    --cc=zsh-users@sunsite.dk \
    /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).