summary refs log tree commit diff
path: root/Completion/User/_perl
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/User/_perl')
-rw-r--r--Completion/User/_perl2
1 files changed, 1 insertions, 1 deletions
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 () {