Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: first go at directory info in completion.
- X-seq: zsh-workers 27225
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxxxxx>
- Subject: Re: PATCH: first go at directory info in completion.
- Date: Tue, 18 Aug 2009 16:55:40 +0200
- In-reply-to: <200908181200.n7IC0ooX020205@xxxxxxxxxxxxxx>
- Mail-followup-to: Zsh hackers list <zsh-workers@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <19348.1250591605@xxxxxxx> <dbfc82860908180451k176e8bf4y853d335dc240a99c@xxxxxxxxxxxxxx> <200908181200.n7IC0ooX020205@xxxxxxxxxxxxxx>
On 2009-08-18 13:00:50 +0100, Peter Stephenson wrote:
> Sometimes you have sets of directories with cryptic names, for example
> named after bug records, in which you keep information to do with
> it---anything vaguely database-related gives you this sort of
> arrangement, in fact. Rather than seeing completion lists like
>
> BUG0001 BUG0002 BUG0003 BUG0004
>
> you now create a one-line file (say .zshinfo) in each directory
> describing the directory. Then you can get completion lists looking
> like
>
> BUG0001 # Light switch failed to illuminate room
> BUG0002 # Light bulb in south east corner of room broken
> BUG0003 # Wiring behind light switch worn
> BUG0004 # Loose screw on diffusor in south west corner of room
>
> so when changing directory you no longer have to remember a set of
> 4-digit numbers.
This is nice. However I'd like to see this very configurable. For
instance, as a Subversion user, I'd rather see such a description
as a svn property (which would follow the file with "svn mv").
I hope this would still be efficient enough (or some file like
.zshinfo could be used as a cache).
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author