zsh-users
 help / color / mirror / code / Atom feed
* Perl completion problem
@ 2004-06-23  0:12 Daniel Muino
  2004-06-23  7:05 ` Bart Schaefer
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Muino @ 2004-06-23  0:12 UTC (permalink / raw)
  To: zsh-users

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-06-23 18:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-23  0:12 Perl completion problem Daniel Muino
2004-06-23  7:05 ` Bart Schaefer
2004-06-23 18:45   ` Daniel Muino

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).