From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2756 invoked from network); 1 Aug 2001 09:26:28 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 1 Aug 2001 09:26:28 -0000 Received: (qmail 9056 invoked by alias); 1 Aug 2001 09:26:02 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4078 Received: (qmail 9043 invoked from network); 1 Aug 2001 09:26:00 -0000 From: martin.ebourne@arcordia.com Expiry-Date: Tue, 30 Oct 2001 -1:-1:-1 +0000 Subject: FPATH being reset after .zshenv To: zsh-users@sunsite.dk Date: Wed, 1 Aug 2001 10:25:12 +0100 Message-ID: X-MIMETrack: Serialize by Router on LON-ARCMTA-01/ARCORDIA(Release 5.0.3 (Intl)|21 March 2000) at 08/01/2001 10:25:16 AM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Hi, I would like to enable a number of my local functions for autoloading in all instances of zsh - interactive or otherwise. To do this I have modified fpath and registered functions for autoloading in the .zshenv file, which as I understand it is the only one it will always execute. Unfortunately it seems that zsh resets the fpath after executing this file (it is empty while running the file). It does however, remember the autoload commands, which obviously then become useless. Why does it behave this way round? Is there anything I can do to get the effect I want? Cheers, Martin. This e-mail message is CONFIDENTIAL and may contain legally privileged information. If you are not the intended recipient you should not read, copy, distribute, disclose or otherwise use the information in this e-mail. Please also telephone or fax us immediately and delete the message from your system. E-mail may be susceptible to data corruption, interception and unauthorised amendment, and we do not accept liability for any such corruption, interception or amendment or the consequences thereof.