Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Tip of the day: previous command output



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