1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-01 18:30:55 +01:00

unposted: Completion/Unix/Command/_perl: allow completion of .PL files

(e.g. Makefile.PL).  Thanks to Marko Myllynen for the suggestion.
This commit is contained in:
Adam Spiers 2003-08-19 22:03:02 +00:00
parent a4b0788fe6
commit 5dfa9ad36a
2 changed files with 4 additions and 1 deletions

View file

@ -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'
}