Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#527369: zsh: make perl completion recognize .t files
- X-seq: zsh-workers 26977
- From: Clint Adams <schizo@xxxxxxxxxx>
- To: Patrick Schoenfeld <schoenfeld@xxxxxxxxxx>, 527369@xxxxxxxxxxxxxxx
- Subject: Re: Bug#527369: zsh: make perl completion recognize .t files
- Date: Fri, 22 May 2009 01:57:35 +0000
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <20090507095529.GA1346@xxxxxxxxxxxxxxxxx>
- Mail-followup-to: Patrick Schoenfeld <schoenfeld@xxxxxxxxxx>, 527369@xxxxxxxxxxxxxxx, zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20090507095529.GA1346@xxxxxxxxxxxxxxxxx>
On Thu, May 07, 2009 at 11:55:29AM +0200, Patrick Schoenfeld wrote:
> the attached patch lets the perl completion recognize .t files (tests).
> Please consider inclusion.
Thanks.
Index: Completion/Unix/Command/_perl
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_perl,v
retrieving revision 1.9
diff -u -r1.9 _perl
--- Completion/Unix/Command/_perl 15 Oct 2008 06:17:39 -0000 1.9
+++ Completion/Unix/Command/_perl 22 May 2009 01:55:38 -0000
@@ -31,7 +31,7 @@
"-V-[print perl configuration information]:configuration keys:_perl_config_vars" \
'-w[turn warnings on for compilation of your script. Recommended]' \
'-x-[strip off text before #!perl line and perhaps cd to directory]:directory to cd to:_files -/' \
- '1:Perl script:_files -/ -g "*.(p[ml]|PL)(-.)"' \
+ '1:Perl script:_files -/ -g "*.(p[ml]|PL|t)(-.)"' \
'*::args: _normal'
}
Messages sorted by:
Reverse Date,
Date,
Thread,
Author