Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 287885 - app-shells/zsh-completion-20091203-r1: completion for pdf files always prints 'No matches'
Summary: app-shells/zsh-completion-20091203-r1: completion for pdf files always prints...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-06 11:27 UTC by malli
Modified: 2014-12-14 01:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
my ~/.zshrc (.zshrc,7.23 KB, text/plain)
2009-10-06 11:28 UTC, malli
Details
my ~/.zshenv (.zshenv,4.29 KB, text/plain)
2009-10-06 11:28 UTC, malli
Details
emerge --info (a,9.98 KB, text/plain)
2009-10-06 11:29 UTC, malli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description malli 2009-10-06 11:27:34 UTC
The completion for pdf files always prints 'No matches'. Example:

$ file a.pdf
a.pdf: PDF document, version 1.4
$ xpdf [tab]
No matches for: `PDF' or `PDF file'
$ xpdf a.[tab]
No matches for: `PDF', `PDF file', or `corrections'


Reproducible: Always

Steps to Reproduce:
1. enter xpdf [tab]
Actual Results:  
zsh prints: No matches for: `PDF' or `PDF file'


Expected Results:  
zsh prints: a.pdf
Comment 1 malli 2009-10-06 11:28:14 UTC
Created attachment 206240 [details]
my ~/.zshrc
Comment 2 malli 2009-10-06 11:28:33 UTC
Created attachment 206241 [details]
my ~/.zshenv
Comment 3 malli 2009-10-06 11:29:49 UTC
Created attachment 206242 [details]
emerge --info
Comment 4 malli 2009-10-13 10:50:38 UTC
I forgot to mention: 
It works fine with kpdf and pdf2ps. 
I tested some other pdf-programs, but for those, every file was displayed (it's probably nowhere defined, that they take a pdf as arg).
The bug, as described, only happens with xpdf.
Comment 5 Tim Harder gentoo-dev 2014-12-14 01:12:56 UTC
If a program like xpdf doesn't have completions installed for it, it's up to you to construct a zstyle completion line for it in your .zshrc if you want stuff like simple file glob completion.