Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: sluggish prompt
- X-seq: zsh-users 11942
- From: Atom Smasher <atom@xxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: sluggish prompt
- Date: Sun, 7 Oct 2007 19:33:52 +1300 (NZDT)
- In-reply-to: <20071007061947.GA6554@xxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Openpgp: id=0xB88D52E4D9F57808; algo=1 (RSA); size=4096; url=http://atom.smasher.org/pgp.txt
- References: <20071007045049.GA28877@xxxxxxxxx> <20071007053638.14299.qmail@xxxxxxxxxxx> <20071007061947.GA6554@xxxxxxxxx>
On Sun, 7 Oct 2007, Russell Hoover wrote:
set -x
and see where it hangs.
Hmmmmmm. This caused a scrolling read-out to the terminal of everything
but the kitchen sink and went on for about 3 minutes. I don't know that
it hung, but after it finished, every time I pressed <RETURN> I got this
(it stopped when I removed "set -x" from my .zshrc) :
====================
another alternative is to set it (set -x) and unset it (set +x) at
different parts of the rc file... with trial and error you should be able
to isolate the part that's hanging.
if it's hanging at every prompt (not just when the shell starts) i would
start with turning on XTRACE within the precmd function. also, is there
any command substitution in your prompt?
about how big is your ~/.zshrc? did you copy it from somewhere? or did you
write it yourself? if the latter, you must've either noticed it getting
getting slower... or you must have done something to make it hang.
--
...atom
________________________
http://atom.smasher.org/
762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808
-------------------------------------------------
"You do realize that in a year's time I will
have contradicted everything I've said."
-- John Lydon
Messages sorted by:
Reverse Date,
Date,
Thread,
Author