Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Perl completion problem
- X-seq: zsh-users 7588
- From: Daniel Muino <daniel@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Perl completion problem
- Date: Tue, 22 Jun 2004 17:12:17 -0700
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
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