From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15815 invoked by alias); 9 Apr 2012 13:44:35 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 16997 Received: (qmail 26187 invoked from network); 9 Apr 2012 13:44:33 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at spf.mandic.com.br designates 200.225.81.143 as permitted sender) Message-ID: <4F82E625.3020307@mandic.com.br> Date: Mon, 09 Apr 2012 10:37:41 -0300 From: "Daniel Serodio (lists)" User-Agent: Postbox 3.0.3 (Macintosh/20120304) MIME-Version: 1.0 To: Mikael Magnusson CC: Kyle Partridge , zsh-users@zsh.org Subject: Re: Slow ZSH References: In-Reply-To: Content-Type: multipart/alternative; boundary="------------040202010204040002020900" --------------040202010204040002020900 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 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 wrote: >>> On 3 April 2012 18:56, Kyle Partridge 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 > > > --------------040202010204040002020900--