summary refs log tree commit diff
diff options
context:
space:
mode:
authorAdam Spiers <adamspiers@users.sourceforge.net>2000-07-03 21:12:50 +0000
committerAdam Spiers <adamspiers@users.sourceforge.net>2000-07-03 21:12:50 +0000
commitc5e47b85366310d4b81a39335a60769ba4f5b2eb (patch)
tree7bad5630c479ffff72e399ff401664b542a5f668
parent6f8986d370a7b4d799cab40c5ac3a3d937b9faeb (diff)
downloadzsh-c5e47b85366310d4b81a39335a60769ba4f5b2eb.tar.gz
zsh-c5e47b85366310d4b81a39335a60769ba4f5b2eb.tar.xz
zsh-c5e47b85366310d4b81a39335a60769ba4f5b2eb.zip
12152: tweak completion of final parameters to perl
-rw-r--r--ChangeLog7
-rw-r--r--Completion/User/_perl2
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 919c914ce..3ffde2a7f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-07-03  Adam Spiers  <adam@spiers.net>
+
+	* 12152: Completion/User/_perl: tweak completion of Perl script
+	parameters to perl.
+
 2000-07-03  Bart Schaefer  <schaefer@zsh.org>
 
 	* 12148: Completion/Core/_path_files: Followup to 12133 as
@@ -77,7 +82,7 @@
 	* 12105: Completion/Core/_main_complete: reset _comp_mesg (saying
  	whether there were messages) appropriately
 	
-	* Jan Fedak: 12097: Completion/Use/_ssh: use _ports when
+	* Jan Fedak: 12097: Completion/User/_ssh: use _ports when
 	completing remote ports
 
 	* Andrej: 12094: Doc/Zsh/compsys.yo: a bit of cleanup
diff --git a/Completion/User/_perl b/Completion/User/_perl
index af94961cc..f46ef0c7b 100644
--- a/Completion/User/_perl
+++ b/Completion/User/_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 -/' \
-    ':Perl script:_files -g \*.pl'
+    '*:Perl script:_files -/ -g \*.p\[ml\]'
 }
 
 _perl_m_opt () {