Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completion control for "man" command
- X-seq: zsh-users 1617
- From: Sven Guckes <guckes@xxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: completion control for "man" command
- Date: Mon, 15 Jun 1998 02:18:59 +0200
- In-reply-to: <19980614015032.30444@xxxxxxxxxxxxxxxxx>; from Thomas Köhler on Sun, Jun 14, 1998 at 01:50:32AM +0200
- Mail-followup-to: zsh-users@xxxxxxxxxxxxxxx
- References: <19980613204012.S3086@xxxxxxxxxxxxxxxxx> <19980614015032.30444@xxxxxxxxxxxxxxxxx>
Quoting Thomas Köhler (jean-luc@xxxxxxxxxxxxxxxxx):
> I use the following for man completion. It uses a file ~/tmp/_man_ which
> stores the filenames in question. If you don't like your loginshell to
> wait for the creation of the file every now and then (I use 14 days)
> because it creates the _man_-file, just make a cronjob out of this...
Well, I wouldn't want my completion control to rely on the existence of a file
in /tmp - after all everybody at our site is allowed to delete files in /tmp.
:-/ Besides, I wouldn't want to set up a cron job for this, either.
Now, if I can get our sysadmin (hi, Stucki) to create a little database
on man pages (with a cronjob or whatever) - that's fine. And, yes, I do
believe this job can be done with the help of awk, sed, and perl. ;-)
But aren't we discussing the zsh here? Shouldn't there be a way to do
the job with the zsh alone? I'd rather see an elegant solution with
a few commands within the zsh than a perfomant database solution with
SAP's R/3 using a Alpha with 4G RAM. ;-)
Also, I wouldn't mind some more examples in the zsh manuals...
Sven [who promises to add all his zsh examples to his zsh page SOON]
Messages sorted by:
Reverse Date,
Date,
Thread,
Author