Package: zsh
Version: 4.3.9-4
Severity: wishlist
Tags: patch

Hi,

the attached patch lets the perl completion recognize .t files (tests).
Please consider inclusion.

Thanks and Best Regards,
Patrick
diff -u -Nur zsh-4.3.9.orig/Completion/Unix/Command/_perl zsh-4.3.9/Completion/Unix/Command/_perl
--- zsh-4.3.9.orig/Completion/Unix/Command/_perl	2009-05-07 11:47:06.000000000 +0200
+++ zsh-4.3.9/Completion/Unix/Command/_perl	2009-05-07 11:47:31.000000000 +0200
@@ -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' 
 }
 

Attachment: signature.asc
Description: Digital signature

Reply via email to