Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Preexec & Printf
- X-seq: zsh-users 4874
- From: "Joshua Symons" <vmcore@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Preexec & Printf
- Date: Thu, 25 Apr 2002 20:25:11 -0500
- Cc: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
I had seen q in the modifier list @
http://zsh.sourceforge.net/Doc/Release/zsh_13.html#SEC45
and had tried that, but it still had the same problem with ${(q)*}, and
I don't see V and z in the modifier list, are they documented?
Additionally, where is the $* vs $1 documented, since I'm accustomed to
$*. Thx btw, it is working correctly now, I really appreciate it.
- Josh -
----- Original Message -----
From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
Date: Thursday, April 25, 2002 8:16 pm
Subject: Re: Preexec & Printf
> On Thu, 25 Apr 2002, Joshua Symons wrote:
>
> > preexec () {
> > print -Pn "\e]0;%m:%l - ${(z)1} \a"
> > }
> > [(ichirou:152:pts/33)~ %] printf '^[[32;40mwith quotes\n'
> > [32;40mwith quotes
> > ' with quotes
>
> Your specific problem there is that the titlebar escape sequence
> appearsliterally in the command that you're trying to put into the
> titlebar, so
> strange things happen. I missed that before. Try ${(qVz)1}.
>
>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author