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

Re: Slow ZSH



That's curious, would you mind explaining why?

Regards,
Daniel Serodio

Mikael Magnusson wrote:
If you're on osx you'll also want to mv /etc/zshenv /etc/zprofile

On 3 April 2012 20:28, Kyle Partridge<partkyle@xxxxxxxxx>  wrote:
This is on OS X Lion, so the version bundled is 4.3.15. I'm on OS X, so I
had to install a newer version using brew (4.3.17).

That seems to be helping for now. I will try this out for a while to see if
it helps.

--
Thanks,
Kyle

On Tue, Apr 3, 2012 at 10:50 AM, Mikael Magnusson<mikachu@xxxxxxxxx>  wrote:
On 3 April 2012 18:56, Kyle Partridge<partkyle@xxxxxxxxx>  wrote:
I have a slow loading zsh, where it sometimes takes longer than 10
seconds
to get to a prompt.

I think the problem is compinit - I've run "zsh -v" multiple times to
try
and find a slow down, and that seems to be the part that it hangs on.

Is there any way to make this run faster? Is there a better way to debug
this problem?
Are you using 4.3.11-4.3.15? They have a feature enabled that causes
the path hash to be populated a bit slower.<.10 didn't have the
feature and .16+ lets you disable it and has it disabled by default.

--
Mikael Magnusson





Messages sorted by: Reverse Date, Date, Thread, Author