zsh-users
 help / color / mirror / code / Atom feed
* completion for pdf and python
@ 2006-03-24 11:29 Fabian Braennstroem
  2006-03-24 12:17 ` acroread problem? [was: completion for pdf and python] Francisco Borges
  0 siblings, 1 reply; 8+ messages in thread
From: Fabian Braennstroem @ 2006-03-24 11:29 UTC (permalink / raw)
  To: zsh-users


Hi,

I try to add a completion for xpdf, acroread and python.
When typing xpdf|acroread I just want to see pdf files and
with python only *.py files.

zstyle ':completion:*:*:acroread:*' file-patterns \
  '*.(pdf):pdf\ files *(-/):directories'

zstyle ':completion:*:*:xpdf:*' file-patterns \
  '*.(pdf):pdf\ files *(-/):directories'

zstyle ':completion:*:*:python:*' file-patterns \
  '*.(py):py\ files *(-/):directories'

Unfortunately, my attempt does not work. I get:

`--> python
No matches for: `script file'
`--> xpdf
No matches for: `PDF' or `PDF file'

`--> acroread
No matches for: `PDF file'

Do you have any idea, what I am doing wrong?


Greetings!
 Fabian


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

end of thread, other threads:[~2006-03-25  8:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-24 11:29 completion for pdf and python Fabian Braennstroem
2006-03-24 12:17 ` acroread problem? [was: completion for pdf and python] Francisco Borges
2006-03-24 13:24   ` Fabian Braennstroem
2006-03-24 13:33     ` Frank Terbeck
2006-03-24 16:21       ` Fabian Braennstroem
2006-03-24 17:22         ` Chris Johnson
2006-03-24 18:16         ` Peter Stephenson
2006-03-25  8:34           ` Fabian Braennstroem

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).