Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Preexec & Printf
- X-seq: zsh-users 4869
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Joshua Symons <vmcore@xxxxxxxxx>
- Subject: Re: Preexec & Printf
- Date: Thu, 25 Apr 2002 18:01:55 -0700 (PDT)
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <2565c1e9b2.1e9b22565c@xxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Sender: schaefer@xxxxxxxxxxxxxxxx
On Thu, 25 Apr 2002, Joshua Symons wrote:
> I have a pretty generic problem, but I can't seem to make my way around
> it.
Re-read the documentation for the preexec function. In particular:
> preexec () {
> print -Pn "\e]0;%m:%l - $* \a"
> }
You almost certainly want to refer to $1 rather than to $*. To remove the
quotes from the string, you probably want to use ${(z)1}.
> $ZSH_VERSION = 3.1.9
You might also want to upgrade to zsh 4.0.4, which has been out for a
while now.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author