link scripts to file extensions for tab completion

Is there a way to link a script in my ~/bin with file extension priority for tab completion?

for example, if the script I have could only look at .tex files, and I have 6 files in the same directory with the same name, but different extensions:

index.tex index.dvi index.toc ... etc...

it should tab complete to pick out the index.tex

any ideas?