zsh-users
 help / color / mirror / code / Atom feed
From: "Andrej Borsenkow" <borsenkow.msk@sni.de>
To: <zsh-users@sunsite.auc.dk>
Subject: RE: Updating the Xterm title with every execution?
Date: Tue, 30 Mar 1999 11:56:09 +0400	[thread overview]
Message-ID: <000201be7a82$c5b3baa0$21c9ca95@mowp.siemens.ru> (raw)
In-Reply-To: <990329202514.ZM16609@candle.brasslantern.com>

> }
> } > The color in expansions is a cool idea, but I'm wondering what the
> } > first half of the patch can do that preexec can't?
> }
> } Please correct me if I'm wrong, but I don't think 'preexec' exists in
> } Zsh 3.0.5
>
> It's in 3.0.5-ext-2, available from ftp.brasslantern.com:/pub/zsh/, which
> will be the basis of 3.0.6 appearing (I hope, if I get the archive scripts
> learned soon) sometime this month.
>

I'd just like to point out, that setting title to the command
name/parameters is probably not trivial. preexec gets the whole command line
(at least,as long as I can beleive the manual. Are parameter assignments
included?). It means, that in case of some more or less complex things
(braces, pipelines etc) you have to parse the string again ... and, well,
you can even have redirection as the first word on command line :-)

cheers

/andrej


  reply	other threads:[~1999-03-30  7:58 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-25 20:15 Ryan Tennant
1999-03-25 21:29 ` Larry P . Schrof
1999-03-25 21:40 ` Matthew Lovell
1999-03-25 21:55 ` Greg Badros
1999-03-25 22:09   ` Larry P . Schrof
1999-03-25 22:47     ` Greg Badros
1999-03-30  4:25       ` Bart Schaefer
1999-03-30  7:56         ` Andrej Borsenkow [this message]
1999-03-30 10:27         ` Greg Badros
1999-03-31 11:35 Sven Wischnowsky
1999-03-31 23:12 ` Greg Badros
1999-04-01  7:19 Sven Wischnowsky
1999-04-02  1:57 ` Greg Badros
1999-04-12  8:08 Sven Wischnowsky

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='000201be7a82$c5b3baa0$21c9ca95@mowp.siemens.ru' \
    --to=borsenkow.msk@sni.de \
    --cc=zsh-users@sunsite.auc.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).