summary refs log tree commit diff
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
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.
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_perl2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e9ae7d309..a0a6a6487 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2003-08-19  Adam Spiers  <adam@spiers.net>
 
+	* unposted: Completion/Unix/Command/_perl: allow completion of .PL
+	files (e.g. Makefile.PL).  Thanks to Marko Myllynen for the suggestion.
+
 	* unposted: Completion/Unix/Command/_irssi: fix quoting bug.
 
 	* unposted: Functions/Prompts/prompt_adam2_setup: fix colouring
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' 
 }