From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9445 invoked from network); 1 Aug 2001 10:38:12 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 1 Aug 2001 10:38:12 -0000 Received: (qmail 26466 invoked by alias); 1 Aug 2001 10:37:47 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4081 Received: (qmail 26452 invoked from network); 1 Aug 2001 10:37:47 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer goliath.siemens.de) From: Borsenkow Andrej To: martin.ebourne@arcordia.com Cc: zsh-users@sunsite.dk Subject: RE: FPATH being reset after .zshenv Date: Wed, 1 Aug 2001 14:37:36 +0400 Message-ID: <001f01c11a75$faf39dd0$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2479.0006 > > I've looked into it some more, and found the culprit. I had the following > line earlier on: > > typeset -U FPATH > > which obviously makes the parameter local as a side effect. I've > changed it > to -Ug now which is working fine. > What do you mean exactly? If you used it in a *function* inside a .zshenv and then changed FPATH inside the same function, then it should have described effect. I just tried with ~/.zshenv looking like FPATH=foo:$FPATH typeset -U FPATH and fpath is not cleared (and never was). Could you show your .zshrc? -andrej