From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2322 invoked from network); 20 Jul 2005 16:10:38 -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 16:10:38 -0000 Received: (qmail 33970 invoked from network); 20 Jul 2005 16:10:31 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 20 Jul 2005 16:10:31 -0000 Received: (qmail 27247 invoked by alias); 20 Jul 2005 16:10:23 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9117 Received: (qmail 27237 invoked from network); 20 Jul 2005 16:10:23 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 20 Jul 2005 16:10:22 -0000 Received: (qmail 32818 invoked from network); 20 Jul 2005 16:10:22 -0000 Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by a.mx.sunsite.dk with SMTP; 20 Jul 2005 16:10:18 -0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DvH92-0006um-UT for zsh-users@sunsite.dk; Wed, 20 Jul 2005 18:10:04 +0200 Received: from 241.119-84-212.ippool.ndo.com ([212.84.119.241]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Jul 2005 18:10:04 +0200 Received: from david by 241.119-84-212.ippool.ndo.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Jul 2005 18:10:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@sunsite.dk From: zzapper Subject: Re: PWS: reload Date: Wed, 20 Jul 2005 17:08:59 +0100 Message-ID: <3mtsd1hnq4jeiq16kcbaicduetrsi3t13c@4ax.com> References: <28612.1121874721@csr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 241.119-84-212.ippool.ndo.com X-Newsreader: Forte Free Agent 2.0/32.652 Sender: news 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.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.4 On Wed, 20 Jul 2005 16:52:01 +0100, wrote: >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. > Sorry PWS AYS it does work from "anywhere", isn't it frustrating when one jumps to a conclusion!! > -- zzapper vim -c ":%s%s*%Cyrnfr)fcbafbe[Oenz(Zbbyranne%|:%s)[[()])-)Ig|norm Vg?" http://www.rayninfo.co.uk/tips/ vim, zsh & success tips