Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Mac OS X Prompt Bug
- X-seq: zsh-workers 28438
- From: Sorin Ionescu <sorin.ionescu@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Mac OS X Prompt Bug
- Date: Wed, 24 Nov 2010 08:58:26 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type:subject :date:message-id:to:mime-version:x-mailer; bh=pSXc3pj0EJHXrgZN5npFUIJ/4Ir4ndU2/bOHyAVaAgg=; b=j/gRRXPOLb0EjYIRJY3ODEMm6oQyquma4enpaOXKzUrkU44rc/RyMHS4RdrzcczdG+ 8yxclJw2VtF5dGKwBZbLusYBwsJIPSq3sox58ySNRi6Mb6pVPP3uN/boRvuIqa1Vy6no e99vLnLbdoIqQsJwOg27NDzk8mXAn8rO1ge+g=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:subject:date:message-id:to:mime-version:x-mailer; b=kcU1t+2wMVkHEqggtr9iS81W2L5e9EyWVsMgLCFRZ7m1XZ0I/lVXVU8if1oKd1CEK3 WIakYvtBeYjEnwNM3lzxoJx7FpDJsmUKKw6W1ShR9yywUSYeCRKSC6YztePgpQt35bgF kdj6gjLTC6e+H6/f9FPqRREB/ZHoHukhQ83hc=
- 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
Hello,
Please have a look at the screenshot at http://i.imgur.com/huNpI.jpg. Otherwise, the following text may not make sense.
A % character appears before every prompt then it is replaced by the prompt; so, it only flashes for a fraction of a second. However, if the buffer is empty when ZSH starts, such as when one has a ~/.hushlogin file, it results in the behaviour in the screenshot, which is % character followed by blank lines.
Before you ask, the screenshot was taken via a new user account. There is no zshrc, zshenv, nor any combination thereof in the home directory. The ZSH versions tested are 4.3.9 and 4.3.10.
There is a global /etc/zshenv file that has the following contents:
# system-wide environment settings for zsh(1)
if [ -x /usr/libexec/path_helper ]; then
eval `/usr/libexec/path_helper -s`
fi
The output of /usr/libexec/path_helper is the following:
PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Users/sorin/.local/bin:/Users/sorin/.local/sbin"; export PATH;
MANPATH="/usr/share/man:/usr/local/share/man:/usr/X11/share/man:/Users/sorin/.local/share/man"; export MANPATH;
Thus, /etc/zshenv is not the problem. It could be a fault of Terminal.app, but it only happens with ZSH and no other shell.
Thank you,
Sorin Ionescu
Messages sorted by:
Reverse Date,
Date,
Thread,
Author