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

Re: /usr/bin/printf



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