The bash-completion for evince (in bash-completion-20050721) is: complete -f -X '!*.@(pdf|PDF)' acroread gpdf xpdf kpdf evince This is insufficient, as evince can also open (e)ps and dvi files. It should be changed to: complete -f -X '!*.@(pdf|PDF)' acroread gpdf xpdf kpdf complete -f -X '!*.@(pdf|PDF|?(e)ps|?(E)PS|dvi|DVI)' evince I will attach a patch.
Created attachment 72356 [details, diff] 111765-evince-completion-ps-dvi.bugs.gentoo.org.patch As above. Should I upstream this patch?
> Should I upstream this patch? Would be most awesome if you did. I'm in the process of moving atm so I probably won't get to this (and the other bashcomp bugs) for a week or two.
OK, have emailed upstream. Will post back when I hear back.
Looks like upstream added it. 20060301 is in portage. Thanks.