zsh-users
 help / color / mirror / code / Atom feed
From: Mikael Magnusson <mikachu@gmail.com>
To: TJ Luoma <luomat@gmail.com>
Cc: "Daniel Serodio (lists)" <daniel.lists@mandic.com.br>,
	Kyle Partridge <partkyle@gmail.com>,
	zsh-users@zsh.org
Subject: Re: Slow ZSH
Date: Tue, 10 Apr 2012 02:25:08 +0200	[thread overview]
Message-ID: <CAHYJk3Q=faobUA2NxW2zhz5gUZ7Eo8anf9pO2RX+m+6E2FcvPg@mail.gmail.com> (raw)
In-Reply-To: <CADjGqHu4yTT==cHJ=cGTs1DTMBNNrtPGW8BH1fUPtYWGyP6kNw@mail.gmail.com>

On 9 April 2012 15:49, TJ Luoma <luomat@gmail.com> wrote:
> On Mon, Apr 9, 2012 at 9:37 AM, Daniel Serodio (lists)
> <daniel.lists@mandic.com.br> wrote:
>> That's curious, would you mind explaining why?
>
> /etc/zshenv on Mac OS X sets the path, which some people don't like.
>
> If you rename /etc/zshenv to /etc/zprofile, it will only set the path
> for interactive/login shells.

Not only does it set the path, but it does so with a quite slow
command (path_helper iirc). Setting the path from a *env file makes it
impossible for any instance of zsh to inherit the path from the
environment, including when you run a script.

-- 
Mikael Magnusson


      reply	other threads:[~2012-04-10  0:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-03 16:56 Kyle Partridge
2012-04-03 17:50 ` Mikael Magnusson
2012-04-03 18:28   ` Kyle Partridge
2012-04-03 18:30     ` Mikael Magnusson
2012-04-09 13:37       ` Daniel Serodio (lists)
2012-04-09 13:49         ` TJ Luoma
2012-04-10  0:25           ` Mikael Magnusson [this message]

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='CAHYJk3Q=faobUA2NxW2zhz5gUZ7Eo8anf9pO2RX+m+6E2FcvPg@mail.gmail.com' \
    --to=mikachu@gmail.com \
    --cc=daniel.lists@mandic.com.br \
    --cc=luomat@gmail.com \
    --cc=partkyle@gmail.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).