Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
completion for pdf and python
- X-seq: zsh-users 10068
- From: Fabian Braennstroem <f.braennstroem@xxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: completion for pdf and python
- Date: Fri, 24 Mar 2006 12:29:22 +0100
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: www.braennstroem.de
- Reply-to: f.braennstroem@xxxxxx
- Sender: news <news@xxxxxxxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author