Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Perl completion problem



I'm having a problem with zsh 4.2.0 and completing perl scripts file names.

If I set the file-sort to anything other than 'name' every time I hit <TAB> 
I get no matches for 'Perl script'

I.e.:

zstyle ':completion:*' file-sort name

perl <TAB> # works fine

zstyle ':completion:*' file-sort modification # or size, etc.

perl <TAB> # can't find 'Perl script'

If I remove the glob qualifiers from _perl:

-    '1:Perl script:_files -/ -g "*.(p[ml]|PL)(-.)"' \
+    '1:Perl script:_files -/ -g "*.(p[ml]|PL)"' \

It works fine under different file-sort options.

Any ideas why?

Thanks.

Daniel



Messages sorted by: Reverse Date, Date, Thread, Author