Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: /usr/bin/printf
- X-seq: zsh-users 13830
- From: Matthew Flaschen <matthew.flaschen@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: /usr/bin/printf
- Date: Thu, 12 Feb 2009 22:04:14 -0500
- In-reply-to: <237967ef0902121751k37dd810co312238682d9b60f0@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <4994CFCF.2090408@xxxxxxxxxx> <237967ef0902121751k37dd810co312238682d9b60f0@xxxxxxxxxxxxxx>
Mikael Magnusson wrote:
> This is because your preexec() function is broken and is outputting
> the newline from the cmdline without escaping it, which makes your
> terminal stop reading the title, and the rest of the command line is
> just echoed. This is kind of hard to figure out the first time.
Okay, here's my preexec. I admit I don't understand this syntax yet:
preexec () { print -Pn "\e]0;%n@%m: $1\a" }
I got it from
http://web.archive.org/web/20071224181948/www.princeton.edu/~kmccarty/zsh.html
Do you know how I would correct it?
Matt Flaschen
Messages sorted by:
Reverse Date,
Date,
Thread,
Author