Well, I have just tested and found that kpdf can't handle compressed formats. So, really you should remove kpdf from the line #84 too, and add this line after it: complete -f -X '!*.@(?(e)ps|?(E)PS|pdf|PDF)' kpdf
Well, I have just tested and found that kpdf can't handle compressed formats. So, really you should remove kpdf from the line #84 too, and add this line after it: (e)ps|? (E)PS|pdf| PDF)' kpdf
complete -f -X '!*.@(?