Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Tip of the day: previous command output
- X-seq: zsh-users 7906
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Tip of the day: previous command output
- Date: Mon, 23 Aug 2004 15:51:52 +0200
- In-reply-to: <Pine.LNX.4.61.0408221604100.5997@xxxxxxxxxxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20040819085812.GL22962@localhost> <Pine.LNX.4.61.0408190748530.9464@xxxxxxxxxxxxxxxxxx> <20040819164250.GA21575@xxxxxxxxx> <Pine.LNX.4.61.0408190956440.9464@xxxxxxxxxxxxxxxxxx> <20040820121202.GA31466@xxxxxxxxx> <20040820145032.GH13530@xxxxxxxxxxxxx> <Pine.LNX.4.61.0408200905300.27591@xxxxxxxxxxxxxxxxxx> <20040822205801.GM7841@xxxxxxxxxxxxx> <Pine.LNX.4.61.0408221604100.5997@xxxxxxxxxxxxxxxxxx>
- Sender: Vincent Lefevre <vincent@xxxxxxxxxx>
On 2004-08-22 18:10:57 -0700, Bart Schaefer wrote:
> On Sun, 22 Aug 2004, Vincent Lefevre wrote:
>
> > I mean that instead of expanding to filenames, one expands
> > to lines from $kept (but only those that match the pattern).
>
> Aha. So, akin to the case where you've provided a prefix, but
> instead you've provided a pattern.
Oops... I meant something like expand-or-complete, but expanding
on the values of kept matching the pattern (otherwise complete).
Anyway, your solution expand-kept-result just does that (no need
to have both widgets).
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% validated (X)HTML - Acorn / RISC OS / ARM, free software, YP17,
Championnat International des Jeux Mathématiques et Logiques, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
Messages sorted by:
Reverse Date,
Date,
Thread,
Author