Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Perl completion
- X-seq: zsh-users 6095
- From: dom@xxxxxxxxxxxxxxxx (Dominic Mitchell)
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Perl completion
- Date: Fri, 9 May 2003 15:12:59 +0100
- In-reply-to: <20030509140206.GA83525@xxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20030509140206.GA83525@xxxxxxxxxxxxxxxxxxxx>
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