fish-shell/share/functions/__fish_complete_tex.fish

11 lines
298 B
Fish
Raw Normal View History

function __fish_complete_tex -d "Common completions for all tex commands"
complete -c $argv -o help -d (_ "Display help and exit")
complete -c $argv -o version -d (_ "Display version and exit")
complete -c $argv -x -a "(
__fish_complete_suffix (commandline -ct) .tex '(La)TeX file'
)"
end