Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Slow ZSH
- X-seq: zsh-users 17002
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: TJ Luoma <luomat@xxxxxxxxx>
- Subject: Re: Slow ZSH
- Date: Tue, 10 Apr 2012 02:25:08 +0200
- Cc: "Daniel Serodio (lists)" <daniel.lists@xxxxxxxxxxxxx>, Kyle Partridge <partkyle@xxxxxxxxx>, zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=XYDM8Qg3paJM10D793fV0r4u7NXCS95/SNPeMlXQZcM=; b=RmX1otznw+s/HqVr453VNXaIECYAxdx82k9qIOrfUbCAXPK+zB2IY0OLn21At9eFlr XjLhwYbH7t+JDuMXMgDIuoO0nah9MTbhC11dgeac0OiMJXDxx85sCehqCMnQrYdZTul5 Vk3+GKX3ruI/bEcdiy7clAn4gj+qqRpNLQ0lJuYIKZODoUV7p2r3sZo68xrlLyVVF+k5 6z+IsGhrWO5Np0AMC9Jialr1NybdwLYQq1R0RCXlMnjpHYgkwydbBbiVc8DtQqzU9PFN q8xus9dG5MLMwJ6Vzc+tEs9pXijSN6TDHjW7qNFOhx/4adYmArB5BqLH674m8qxRnZNF b2tA==
- In-reply-to: <CADjGqHu4yTT==cHJ=cGTs1DTMBNNrtPGW8BH1fUPtYWGyP6kNw@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CALtajeVxZhzDFoP+p+XxqHygKNptHM7k9A46rp_hdbbX4y_Jtw@mail.gmail.com> <CAHYJk3SxWFy=cCuLgaXL9NA1b1Q0bRrHRMvdXnsnfCS4B9f0rA@mail.gmail.com> <CALtajeVXAsdK-dLanWW5msX5WfnKLm+5EMakEE-B2JfT6Qn2hQ@mail.gmail.com> <CAHYJk3Sc4uA9Xg7Vo6xnAJBiP9eN3Qb_pSw+jODbAtwDZk666Q@mail.gmail.com> <4F82E625.3020307@mandic.com.br> <CADjGqHu4yTT==cHJ=cGTs1DTMBNNrtPGW8BH1fUPtYWGyP6kNw@mail.gmail.com>
On 9 April 2012 15:49, TJ Luoma <luomat@xxxxxxxxx> wrote:
> On Mon, Apr 9, 2012 at 9:37 AM, Daniel Serodio (lists)
> <daniel.lists@xxxxxxxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author