mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
Normalize *tex completions
This commit is contained in:
parent
f70b1ffbbf
commit
7add4d5782
12 changed files with 26 additions and 35 deletions
|
@ -1,2 +1,2 @@
|
||||||
__fish_complete_tex elatex
|
complete -c tex -w elatex
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
__fish_complete_tex etex
|
complete -c tex -w etex
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
__fish_complete_tex latex
|
complete -c tex -w latex
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
__fish_complete_tex lualatex
|
complete -c tex -w lualatex
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
__fish_complete_tex omega
|
complete -c tex -w omega
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
__fish_complete_tex pdfelatex
|
complete -c tex -w pdfelatex
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
__fish_complete_tex pdfetex
|
complete -c tex -w pdfetex
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
__fish_complete_tex pdflatex
|
complete -c tex -w pdflatex
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
__fish_complete_tex pdftex
|
complete -c tex -w pdftex
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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
|
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"
|
||||||
__fish_complete_tex tex
|
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"
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
__fish_complete_tex xelatex
|
complete -c tex -w xelatex
|
||||||
|
|
||||||
|
|
|
@ -1,21 +0,0 @@
|
||||||
|
|
||||||
function __fish_complete_tex -d "Common completions for all tex commands"
|
|
||||||
|
|
||||||
complete -c $argv -o help --description "Display help and exit"
|
|
||||||
complete -c $argv -o version --description "Display version and exit"
|
|
||||||
complete -c $argv -x -a "(
|
|
||||||
__fish_complete_suffix (commandline -ct) .tex '(La)TeX file'
|
|
||||||
)"
|
|
||||||
|
|
||||||
complete -c $argv -o file-line-error -d "Show errors in style file:line"
|
|
||||||
complete -c $argv -o no-file-line-error -d "Show errors not in style file:line"
|
|
||||||
complete -c $argv -o halt-on-error -d "Stop processing at the first error"
|
|
||||||
complete -c $argv -o interaction=batchmode -d "Set interaction mode"
|
|
||||||
complete -c $argv -o interaction=nonstopmode -d "Set interaction mode"
|
|
||||||
complete -c $argv -o interaction=scrollmode -d "Set interaction mode"
|
|
||||||
complete -c $argv -o interaction=errorstopmode -d "Set interaction mode"
|
|
||||||
complete -c $argv -o output-directory= -x -a "(__fish_complete_directories (commandline -ct))" -d "Output directory"
|
|
||||||
complete -c $argv -o shell-escape -d "Enable \write18{SHELL COMMAND}"
|
|
||||||
complete -c $argv -o no-shell-escape -d "Disable \write18{SHELL COMMAND}"
|
|
||||||
complete -c $argv -o src-specials -d "Insert source specials into the DVI file"
|
|
||||||
end
|
|
Loading…
Reference in a new issue