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

Re: quick question about '%s' expansion



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