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

Re: Multi-Minute Startup?



On Thu, Aug 7, 2008 at 3:32 PM, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Aug 7,  2:57pm, Aaron Davies wrote:
> }
> } It takes zsh multiple minutes (around 3) to start up on a new server I
> } just got access to.
>
> I seem to recall this coming up at Panix or somewhere like that, before.
> In that case I believe the problem was that it was populating a table of
> all the user names on the system.
>
> } only /etc/zshenv and /etc/zshrc are actually present.
>
> So what's *in* those files?  And is "zsh -f" faster?  What about
> "zsh -o noglobalrcs" ?

zshenv just loads /etc/profile

zshrc seems to be mostly setting options, binding editing keys, and
initializing the completion system

zsh -f and zsh -o noglobalrcs both start instantaneously
-- 
Aaron Davies
aaron.davies@xxxxxxxxx



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