Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: quick question about '%s' expansion
- X-seq: zsh-users 4212
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Simon Hausmann <hausmann@xxxxxxx>
- Subject: Re: quick question about '%s' expansion
- Date: Sun, 9 Sep 2001 16:00:01 +0000
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <20010909101739.A15515@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20010908234535.A13658@xxxxxxxxxxxxxx> <3B9A9379.6000202@xxxxxxxxxxxxxx> <20010909101739.A15515@xxxxxxxxxxxxxx>
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.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author