From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20570 invoked by alias); 9 Sep 2011 19:59:41 -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: 16330 Received: (qmail 25681 invoked from network); 9 Sep 2011 19:59:38 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 74.125.82.43 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=Bya8pZCNKoWsjZ0TyXCciAbbkI2+gpk8Xcey3ZnJstM=; b=Tq5jF6HXSN/AddDxQSzi2irmI/075+WY0Z91AHgpCiKDYKDyLf8oHaTJo8IzmW+T14 JNuU7A0LrgE4qbLS9ze8ijjSr4IiMOME+vQxpD01+Xt0T+S9/GVAAm/+qr+uzFjJjqSE C8DyxdeIOl8lY0gnWy9BWJHYvIe7KlfmTLrqU= MIME-Version: 1.0 In-Reply-To: <110908142432.ZM15044@torch.brasslantern.com> References: <110908142432.ZM15044@torch.brasslantern.com> From: Renato Botelho Date: Fri, 9 Sep 2011 16:59:08 -0300 Message-ID: Subject: Re: Zsh startup really slow after upgrade to fedora 15 [SOLVED] To: Bart Schaefer Cc: zsh-users@zsh.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Thu, Sep 8, 2011 at 6:24 PM, Bart Schaefer w= rote: > On Sep 8, =A04:56pm, Renato Botelho wrote: > } > } After dig into it i figured out my problem was being caused because > } i had a symlink "/usr/bin/foo" that was pointing to a NFS mounted > } directory, and it was the cause of delay. After remove this symlink > } it started to work fine again > > If you want to restore that link (because you need that program), you > can pre-load the hash table for it: > > hash foo=3D/usr/bin/foo > > I *think* this will cause zsh to skip over that name when it later > populates the hash for the /usr/bin directory, which *should* avoid > the NFS mount delay. =A0If you try it, let us know if it works. Hello Bart, I tried you suggestion with no success, after re-create the symlink delay was back. Regards --=20 Renato Botelho