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

Re: Aaaaargggghhh... :)



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