Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Perl completion



On Fri, May 09, 2003 at 03:02:06PM +0100, Dominic Mitchell wrote:
> I've just noticed in _perl that it only completes *.p[ml].  Is there a
> way that I can change this using zstyle somehow?  I would like to also
> complete '*.t' files too (perl tests).
> 
> I've had a look at the docs, but I'm still not entirely clear on how
> things hang together, I'm afraid...

Doh.  It's always after you send the mail you find the answer...

zstyle ':completion:*:complete:perl:*' file-patterns \
    '*.(p[ml]|t):perl-files' '%p:all-files'

My apologies,
-Dom



Messages sorted by: Reverse Date, Date, Thread, Author