Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Mac OS X Prompt Bug
- X-seq: zsh-workers 28444
- From: "Benjamin R. Haskell" <zsh@xxxxxxxxxx>
- To: Sorin Ionescu <sorin.ionescu@xxxxxxxxx>
- Subject: Re: Mac OS X Prompt Bug
- Date: Wed, 24 Nov 2010 12:49:48 -0500 (EST)
- Cc: zsh-workers@xxxxxxx
- In-reply-to: <9ADAD50F-12F2-4B0A-A494-F339583AEDEC@xxxxxxxxx>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <BAB9C52A-B68A-4B5A-99C2-F85B310B1380@xxxxxxxxx> <20101124153007.GF1727@xxxxxxxxxxxxxxxxxxx> <9ADAD50F-12F2-4B0A-A494-F339583AEDEC@xxxxxxxxx>
On Wed, 24 Nov 2010, Sorin Ionescu wrote:
Yes, iTerm2 does not have this problem. While unsetopt PROMPT_SP
removes the %, the blank lines are still echoed. The easiest way to
test this is to touch ~/.hushlogin and open Terminal.app. Notice the
scrollbar.
So, PROMPT_SP is definitely not the problem. It seems the prompt is
being pushed down by the blank lines. Hence why % is not being
overwritten by the prompt in the screenshot.
So, figure out what's printing out the blank lines.
You mentioned /etc/zshenv. What about /etc/zshprofile or /etc/zshrc?
Or maybe even /etc/profile, which is often sourced by system Zsh startup
files, depending on how Zsh is distributed.
Maybe see if something is set up with hook functions:
$ functions preexec precmd chpwd periodic TRAPDEBUG
As a last resort, try to run Zsh with tracing enabled:
zsh -x (then Ctrl-d or quit)
[produces lots of output, but maybe near the end you'll see something
printing out some blank lines]
Might need: zsh -l -x
(not sure how you start your commands in OS X terminal)
--
Best,
Ben
Messages sorted by:
Reverse Date,
Date,
Thread,
Author