zsh-workers
 help / color / mirror / code / Atom feed
From: DervishD <zsh@dervishd.net>
To: frederik@ofb.net
Cc: zsh-workers@sunsite.dk
Subject: Re: zle separability
Date: Mon, 25 Apr 2005 18:02:49 +0200	[thread overview]
Message-ID: <20050425160249.GC8211@DervishD> (raw)
In-Reply-To: <20050425115849.GA17635@a5.repetae.net>

    Hi Frederik :)

 * Frederik Eaton <frederik@a5.repetae.net> 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...

    OK, I understand. You can do that using 'vared'. You have the
full zle power (I think) and the result is stored in a parameter,
never executed unless you want it to.

    Raúl Núñez de Arenas Coronado

-- 
Linux Registered User 88736 | http://www.dervishd.net
http://www.pleyades.net & http://www.gotesdelluna.net
It's my PC and I'll cry if I want to...


  reply	other threads:[~2005-04-25 16:02 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-24 19:37 Frederik Eaton
2005-04-24 23:08 ` DervishD
2005-04-25  7:51   ` Frederik Eaton
2005-04-25 10:49     ` DervishD
2005-04-25 11:04       ` Frederik Eaton
2005-04-25 11:39         ` DervishD
2005-04-25 11:58           ` Frederik Eaton
2005-04-25 16:02             ` DervishD [this message]
2005-04-28  5:45               ` Frederik Eaton
2005-04-28  7:45                 ` DervishD
2005-04-25 16:09             ` Bart Schaefer
2005-04-28  5:59               ` Frederik Eaton
2005-04-28  8:17                 ` Bart Schaefer
2005-04-28 10:04                   ` Peter Stephenson
2005-04-28 14:55                     ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050425160249.GC8211@DervishD \
    --to=zsh@dervishd.net \
    --cc=frederik@ofb.net \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).