From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20266 invoked by alias); 7 Jan 2012 01:45:22 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 30096 Received: (qmail 5946 invoked from network); 7 Jan 2012 01:45:20 -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,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at klanderman.net does not designate permitted sender hosts) From: Greg Klanderman To: zsh-workers@zsh.org Subject: Re: zsh hangs loading init files Reply-To: gak@klanderman.net Date: Fri, 06 Jan 2012 20:36:55 -0500 In-Reply-To: (Mikael Magnusson's message of "Sat, 7 Jan 2012 02:28:44 +0100") Message-ID: User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.17 (linux) References: <20229.54117.22089.85103@gargle.gargle.HOWL> <20120105193518.GE80751@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >>>>> On January 6, 2012 Mikael Magnusson wrote: > I suspect this is the one, http://www.zsh.org/mla/users/2009/msg00786.html > +2009-09-21 Peter Stephenson > + > + * users/14411: Src/hashtable.c: only hash stat-able executable > + regular files in the command table. > + You probably haven't gotten my followup to my followup yet. Adding "setopt nohashdirs" gets me past the $(uname -s) quickly, but then later, accessing $commands[foo] still causes it to go stat() every file under every element of my path. Which is causing the 10-30 second hang. Greg