Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: quick question about '%s' expansion
- X-seq: zsh-users 4213
- From: Simon Hausmann <hausmann@xxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: quick question about '%s' expansion
- Date: Sun, 9 Sep 2001 18:34:48 +0200
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <1010909160001.ZM21646@xxxxxxxxxxxxxxxxxxxxxxx>; from schaefer@xxxxxxxxxxxxxxxx on Sun, Sep 09, 2001 at 04:00:01PM +0000
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20010908234535.A13658@xxxxxxxxxxxxxx> <3B9A9379.6000202@xxxxxxxxxxxxxx> <20010909101739.A15515@xxxxxxxxxxxxxx> <1010909160001.ZM21646@xxxxxxxxxxxxxxxxxxxxxxx>
On Sun, Sep 09, 2001 at 04:00:01PM +0000, Bart Schaefer wrote:
> On Sep 9, 10:17am, Simon Hausmann wrote:
> } Subject: Re: quick question about '%s' expansion
> }
> } Ah, yes, with -f it works. Silly me, I had a preexec which looked like
> }
> } preexec () {print -Pn "\e]0;%n@%m: $*\a"}
>
> The definition of preexec changed just before the 4.0 release. Re-read
> the manual entry for it. You almost certainly want to use $1 or $2, not
> $*, in your xterm title.
Whoops, $1 looks much better, indeed. Thanks for your help!
Simon
Messages sorted by:
Reverse Date,
Date,
Thread,
Author