about summary refs log tree commit diff
path: root/Completion/Unix/Command/_perl
diff options
context:
space:
mode:
authorAdam Spiers <adamspiers@users.sourceforge.net>2003-08-19 22:03:02 +0000
committerAdam Spiers <adamspiers@users.sourceforge.net>2003-08-19 22:03:02 +0000
commit5dfa9ad36a75964ea10679f64f36a1b4e7e351d1 (patch)
treea36ac9da769a652d9d8414bdd3224f4d326fb470 /Completion/Unix/Command/_perl
parenta4b0788fe67764c16c9543ce8375fffc15f89121 (diff)
downloadzsh-5dfa9ad36a75964ea10679f64f36a1b4e7e351d1.tar.gz
zsh-5dfa9ad36a75964ea10679f64f36a1b4e7e351d1.tar.xz
zsh-5dfa9ad36a75964ea10679f64f36a1b4e7e351d1.zip
unposted: Completion/Unix/Command/_perl: allow completion of .PL files
(e.g. Makefile.PL).  Thanks to Marko Myllynen for the suggestion.
Diffstat (limited to 'Completion/Unix/Command/_perl')
-rw-r--r--Completion/Unix/Command/_perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_perl b/Completion/Unix/Command/_perl
index 3bffafcce..0229f3e73 100644
--- a/Completion/Unix/Command/_perl
+++ b/Completion/Unix/Command/_perl
@@ -31,7 +31,7 @@ _perl () {
     "-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\]' \
+    '1:Perl script:_files -/ -g \*.\(p\[ml\]\|PL\)' \
     '*::args: _normal' 
 }