about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Completion/Unix/Type/_tex6
1 files changed, 6 insertions, 0 deletions
diff --git a/Completion/Unix/Type/_tex b/Completion/Unix/Type/_tex
new file mode 100644
index 000000000..4775d1bbc
--- /dev/null
+++ b/Completion/Unix/Type/_tex
@@ -0,0 +1,6 @@
+#compdef tex latex slitex
+
+local expl
+
+_description files expl 'TeX or LaTeX file'
+_files "$expl[@]" -g '*.(tex|TEX|texinfo|texi)'