fish-shell/init/functions/__fish_complete_tex.fish

10 lines
298 B
Fish

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