Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: autoload
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?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author