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

Re: quick question about '%s' expansion



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