zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-users@zsh.org
Subject: Re: Zsh startup really slow after upgrade to fedora 15 [SOLVED]
Date: Thu, 08 Sep 2011 14:24:32 -0700	[thread overview]
Message-ID: <110908142432.ZM15044@torch.brasslantern.com> (raw)
In-Reply-To: <CAESiWkn5m=NS4EDQZzrGg_NQ9hZY7aJrx3pjqzLXRzZZbXfuSg@mail.gmail.com>

On Sep 8,  4: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=/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.  If you try it, let us know if it works.


  reply	other threads:[~2011-09-08 21:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-08 19:56 Renato Botelho
2011-09-08 21:24 ` Bart Schaefer [this message]
2011-09-09 19:59   ` Renato Botelho

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=110908142432.ZM15044@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).