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

Re: zle separability



On Mon, Apr 25, 2005 at 01:39:25PM +0200, DervishD wrote:
>     Hi Frederik :)
> 
>  * Frederik Eaton <frederik@xxxxxxxxxxxxxx> dixit:
> > >     For the rest I don't understand clearly what do you want. If you
> > > could give me some use cases I can try to tell you ways of achieving
> > > what you need.
> > Sort of like preexec, except that it executes not *before* the command
> > but *instead of* the command. So you could set it to something like
> > 
> > myexec () { "$@" }
> 
>     You can do that using aliases :? Maybe I'm misunderstanding
> anything?

If you wanted to use zsh to replace readline, you'd need a way to
intercept the lines it read as commands, and to get zsh to not execute
those lines as it normally would...

Frederik



Messages sorted by: Reverse Date, Date, Thread, Author