summary refs log tree commit diff
diff options
context:
space:
mode:
-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' 
 }