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

Re: Preexec & Printf



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