mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-06 18:18:51 +00:00
c66ec4df3d
__fish_complete_subcommand * sudo: - now can be completed bu group and user (-u and -g keys). - subcommand completion is fixed * __fish_complete_proc.fish is added to complete killall command with list of running processes * __fish_complete_tex.fish is updated with common options * __fish_make_completion_signals.fish is added to make a list of kill signals for kill and killall * completions: - minor filetype completions are added for djview, xpdf, mupdf, gv, xdvi - adduser is copmleted by user and group - dlocate and dpkg are completed by packages - find: -executable options is added - htop: options - funced and funcsave are completed by function names - ifdown and ifup are copmleted by interfaces - kill and killall: options, signals and processes - latexmk, ln, nm: options - lualatex and xelatex copmletions - sudo: -u and -g options - wvdial: presets
21 lines
1.2 KiB
Fish
21 lines
1.2 KiB
Fish
|
|
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 interation mode"
|
|
complete -c $argv -o interaction=nonstopmode -d "Set interation mode"
|
|
complete -c $argv -o interaction=scrollmode -d "Set interation mode"
|
|
complete -c $argv -o interaction=errorstopmode -d "Set interation 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
|