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

Re: zsh hangs loading init files



>>>>> On January 6, 2012 Mikael Magnusson <mikachu@xxxxxxxxx> wrote:

> I suspect this is the one, http://www.zsh.org/mla/users/2009/msg00786.html

> +2009-09-21  Peter Stephenson  <pws@xxxxxxx>
> +
> +       * 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



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