Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Aaaaargggghhh... :)
- X-seq: zsh-users 8768
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Meino Christian Cramer <Meino.Cramer@xxxxxx>, zsh-users@xxxxxxxxxx
- Subject: Re: Aaaaargggghhh... :)
- Date: Fri, 29 Apr 2005 03:27:26 +0000
- In-reply-to: <20050428.203557.41646998.Meino.Cramer@xxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20050428.203557.41646998.Meino.Cramer@xxxxxx>
On Apr 28, 8:35pm, Meino Christian Cramer wrote:
>
> am I totally .... ?
The whole keeper function suite is in the development version of zsh,
available from CVS on sourceforge: Functions/Zle/keeper
You need at least zsh-4.2.2 to run that edition of the suite, as it
has been updated to use the "always" syntax.
> No such widget `_expand-kept-result'
> or
> No such widget `_expand-kept-result
(I presume one of those is supposed to mention "insert".)
> What is the bug in my implementation of that keeper funtionality?
You're missing a couple of "zle -C" commands; go back and look at the
article again. There should be a total of three "zle -C" commands in
the final script, but you've only included one of them.
Also ...
> Here is my script:
>
> function keep {
[...]
> }
> # ......................................................................
> alias keep='noglob keep'
> #......................................................................
> function keep {
[...]
> }
You don't need to define the "keep" function twice.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author