From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6285 invoked by alias); 14 Sep 2015 02:15:06 -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: 20555 Received: (qmail 13754 invoked from network); 14 Sep 2015 02:15:03 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 X-Authority-Analysis: v=2.1 cv=X+5rdgje c=1 sm=1 tr=0 a=WjPuXXxkKUzWj4DQY7DNGQ==:117 a=WjPuXXxkKUzWj4DQY7DNGQ==:17 a=N659UExz7-8A:10 a=czwfZ18mjtXwtQrqJqIA:9 a=pILNOxqGKmIA:10 Message-id: <55F62DA2.9090908@eastlink.ca> Date: Sun, 13 Sep 2015 19:14:58 -0700 From: Ray Andrews User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-version: 1.0 To: zsh-users@zsh.org Subject: Re: autoload References: <55F465E6.1040405@eastlink.ca> <2125131442086868@web14o.yandex.ru> <55F4930A.40608@eastlink.ca> <150912151040.ZM12254@torch.brasslantern.com> <55F4AF59.70606@eastlink.ca> <150912164339.ZM26555@torch.brasslantern.com> In-reply-to: <150912164339.ZM26555@torch.brasslantern.com> Content-type: text/plain; charset=windows-1252; format=flowed Content-transfer-encoding: 7bit On 09/12/2015 04:43 PM, Bart Schaefer wrote: Bart: Tightening up my understanding of this a bit ... > autoload $^fpath/*(N-.:t) ... works fine, but what does the caret do? Negation is counterintuitive. Also I think I recognize the '(N-.:t)' as a globbing modifier, and I know the '.' and the ':t' but I can't find any info on the 'N-' -- I don't know what phylum of animal it is so as to research it. autoload /usr/local/share/zsh/site-functions/n-*(N-.:t) ... also works and is more literal. Interesting that autoload must have the path stripped off for it. Why wouldn't it know to do that automatically?