1 2 3 4 5 6
#compdef tex latex slitex local expl _description expl 'TeX or LaTeX file' _files "$expl[@]" -g '*.(tex|TEX|texinfo|texi)'