From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12231 invoked by alias); 10 Apr 2012 00:25:15 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 17002 Received: (qmail 15946 invoked from network); 10 Apr 2012 00:25:13 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW, T_DKIM_INVALID autolearn=no version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.160.43 as permitted sender) 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== MIME-Version: 1.0 In-Reply-To: References: <4F82E625.3020307@mandic.com.br> Date: Tue, 10 Apr 2012 02:25:08 +0200 Message-ID: Subject: Re: Slow ZSH From: Mikael Magnusson To: TJ Luoma Cc: "Daniel Serodio (lists)" , Kyle Partridge , zsh-users@zsh.org Content-Type: text/plain; charset=UTF-8 On 9 April 2012 15:49, TJ Luoma wrote: > On Mon, Apr 9, 2012 at 9:37 AM, Daniel Serodio (lists) > 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