From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29298 invoked from network); 20 Jul 2005 15:52:22 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 20 Jul 2005 15:52:22 -0000 Received: (qmail 15307 invoked from network); 20 Jul 2005 15:52:16 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 20 Jul 2005 15:52:16 -0000 Received: (qmail 22340 invoked by alias); 20 Jul 2005 15:52:08 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9116 Received: (qmail 22331 invoked from network); 20 Jul 2005 15:52:08 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 20 Jul 2005 15:52:08 -0000 Received: (qmail 14209 invoked from network); 20 Jul 2005 15:52:07 -0000 Received: from mailhost1.csr.com (HELO MAILSWEEPER01.csr.com) (81.105.217.43) by a.mx.sunsite.dk with SMTP; 20 Jul 2005 15:52:02 -0000 Received: from exchange03.csr.com (unverified [10.100.137.60]) by MAILSWEEPER01.csr.com (Content Technologies SMTPRS 4.3.12) with ESMTP id for ; Wed, 20 Jul 2005 16:49:58 +0100 Received: from csr.com ([10.102.144.127]) by exchange03.csr.com with Microsoft SMTPSVC(5.0.2195.6713); Wed, 20 Jul 2005 16:54:03 +0100 To: zsh-users@sunsite.dk Subject: Re: PWS: reload In-reply-to: References: Comments: In-reply-to zzapper message dated "Wed, 20 Jul 2005 16:10:32 +0100." Date: Wed, 20 Jul 2005 16:52:01 +0100 Message-ID: <28612.1121874721@csr.com> From: Peter Stephenson X-OriginalArrivalTime: 20 Jul 2005 15:54:03.0677 (UTC) FILETIME=[40A46CD0:01C58D43] X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.4 zzapper wrote: > It'd be really useful if your reload function would "find" the script whereev > er it might lie in the > path. > I've tried the > autoload =somescript but it doesn't seem to work. reload doesn't work on scripts, it works on functions. It doesn't matter where the function lives in the path; you don't refer to it by the full path anyway, just the function name. Functions doen't live in $path, like scripts, they live in $fpath, so = won't find them. pws ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. **********************************************************************