aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/tex.fish
diff options
context:
space:
mode:
authorGravatar Fabian Homborg <FHomborg@gmail.com>2015-07-20 12:34:18 +0200
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-07-20 15:19:03 -0700
commit7add4d57823b98ede9aff7ea512f1d119735c0e4 (patch)
tree74a2168bc76ae076ad2ceb4a3bebe5dbac932af7 /share/completions/tex.fish
parentf70b1ffbbfb2cf67129eb35408055416c6d9bab5 (diff)
Normalize *tex completions
Diffstat (limited to 'share/completions/tex.fish')
-rw-r--r--share/completions/tex.fish20
1 files changed, 16 insertions, 4 deletions
diff --git a/share/completions/tex.fish b/share/completions/tex.fish
index e62d33a4..308a950c 100644
--- a/share/completions/tex.fish
+++ b/share/completions/tex.fish
@@ -1,5 +1,17 @@
+complete -c tex -o help --description "Display help and exit"
+complete -c tex -o version --description "Display version and exit"
+complete -c tex -x -a "(
+__fish_complete_suffix (commandline -ct) .tex '(La)TeX file'
+)"
-set -l cmds -c etex -c tex -c elatex -c latex -c pdflatex -c pdfelatex -c pdftex -c pdfetex -c omega
-
-__fish_complete_tex tex
-
+complete -c tex -o file-line-error -d "Show errors in style file:line"
+complete -c tex -o no-file-line-error -d "Show errors not in style file:line"
+complete -c tex -o halt-on-error -d "Stop processing at the first error"
+complete -c tex -o interaction=batchmode -d "Set interaction mode"
+complete -c tex -o interaction=nonstopmode -d "Set interaction mode"
+complete -c tex -o interaction=scrollmode -d "Set interaction mode"
+complete -c tex -o interaction=errorstopmode -d "Set interaction mode"
+complete -c tex -o output-directory= -x -a "(__fish_complete_directories (commandline -ct))" -d "Output directory"
+complete -c tex -o shell-escape -d "Enable \write18{SHELL COMMAND}"
+complete -c tex -o no-shell-escape -d "Disable \write18{SHELL COMMAND}"
+complete -c tex -o src-specials -d "Insert source specials into the DVI file"