Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
menuselection with manpages
- X-seq: zsh-users 10269
- From: Frank Terbeck <frank.terbeck@xxxxxxxxxxxxxx>
- To: zsh users <zsh-users@xxxxxxxxxx>
- Subject: menuselection with manpages
- Date: Wed, 17 May 2006 17:10:15 +0200
- Mail-followup-to: zsh users <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Operating-system: Linux 2.6.16.1 i686
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author