zsh-users
 help / color / mirror / code / Atom feed
* menuselection with manpages
@ 2006-05-17 15:10 Frank Terbeck
  2006-05-18 22:09 ` Frank Terbeck
  0 siblings, 1 reply; 6+ messages in thread
From: Frank Terbeck @ 2006-05-17 15:10 UTC (permalink / raw)
  To: zsh users

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-05-20  8:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-17 15:10 menuselection with manpages Frank Terbeck
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

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).