From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11938 invoked by alias); 3 Apr 2012 18:30:19 -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: 16979 Received: (qmail 17579 invoked from network); 3 Apr 2012 18:30:18 -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.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW, T_DKIM_INVALID autolearn=no version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.160.43 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Xro21LPiGVmBsZnSIlcTm/dXiUfT0RBbicION/DJMak=; b=aVQBsRqP8NUM7xL7SZY5LF5czV7QGcWNHOmrb9lXESjTc2ULLA1BBsy6ivwy+qk/iK xytZDmW5cHeKY6kgZL+zDYmX63XoqDmC4XLeUGqblsRvXchzlAjy+9V+FltzmpPg2fgz HWrhsHuVfosqNqqlRIhxSj8XhEJ+mCHmbFhU+0sSnwI0AbJsrZBa0MMLWZMtzc32QKtJ JEJnIYm0wcN4E2ErRnqhsBAIFJ/5/ttN3m7HFNyWLpPsqYyP3XffCWcEvs33hi/TvfGa ap8oy703qV5NAcai0/GOsXf1cqz6z8zsZYNKaZYpz/JOEOFm7igrTvWs6mNaGDhNEs8N oE+g== MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 3 Apr 2012 20:30:15 +0200 Message-ID: Subject: Re: Slow ZSH From: Mikael Magnusson To: Kyle Partridge Cc: zsh-users@zsh.org Content-Type: text/plain; charset=UTF-8 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 > > -- Mikael Magnusson