diff --git a/init/completions/elatex.fish b/init/completions/elatex.fish new file mode 100644 index 000000000..7d850e978 --- /dev/null +++ b/init/completions/elatex.fish @@ -0,0 +1 @@ +complete -y tex diff --git a/init/completions/etex.fish b/init/completions/etex.fish new file mode 100644 index 000000000..7d850e978 --- /dev/null +++ b/init/completions/etex.fish @@ -0,0 +1 @@ +complete -y tex diff --git a/init/completions/latex.fish b/init/completions/latex.fish new file mode 100644 index 000000000..7d850e978 --- /dev/null +++ b/init/completions/latex.fish @@ -0,0 +1 @@ +complete -y tex diff --git a/init/completions/omega.fish b/init/completions/omega.fish new file mode 100644 index 000000000..7d850e978 --- /dev/null +++ b/init/completions/omega.fish @@ -0,0 +1 @@ +complete -y tex diff --git a/init/completions/pdfelatex.fish b/init/completions/pdfelatex.fish new file mode 100644 index 000000000..7d850e978 --- /dev/null +++ b/init/completions/pdfelatex.fish @@ -0,0 +1 @@ +complete -y tex diff --git a/init/completions/pdfetex.fish b/init/completions/pdfetex.fish new file mode 100644 index 000000000..7d850e978 --- /dev/null +++ b/init/completions/pdfetex.fish @@ -0,0 +1 @@ +complete -y tex diff --git a/init/completions/pdflatex.fish b/init/completions/pdflatex.fish new file mode 100644 index 000000000..7d850e978 --- /dev/null +++ b/init/completions/pdflatex.fish @@ -0,0 +1 @@ +complete -y tex diff --git a/init/completions/pdftex.fish b/init/completions/pdftex.fish new file mode 100644 index 000000000..7d850e978 --- /dev/null +++ b/init/completions/pdftex.fish @@ -0,0 +1 @@ +complete -y tex diff --git a/init/completions/tex.fish b/init/completions/tex.fish new file mode 100644 index 000000000..9134fa560 --- /dev/null +++ b/init/completions/tex.fish @@ -0,0 +1,7 @@ +for i in {,e}tex {,e}latex pdf{,e}latex pdf{,e}tex omega + complete -c $i -o help -d "Display help and exit" + complete -c $i -o version -d "Display version and exit" + complete -c $i -x -a "( + __fish_complete_suffix (commandline -ct) .tex '(La)TeX file' + )" +end