diff --git a/assets/completions/bat.fish b/assets/completions/bat.fish index 0d28e508..df67d6c2 100644 --- a/assets/completions/bat.fish +++ b/assets/completions/bat.fish @@ -27,23 +27,18 @@ complete -c bat -s r -l line-range -d " Only print the specified range of l # TODO: possibly add completion showing max line (using 'wc -l') on file in current arguments (using commandline -opc) complete -c bat -s H -l highlight-line -d " Highlight the N-th line with a different background color" -# TODO: add completion for auto/never/always -complete -c bat -l color -d " Specify when to use colored output (*auto*, never, always)" +complete -c bat -l color -xa 'auto never always' -d " Specify when to use colored output (*auto*, never, always)" -# TODO: add completion for always/never -complete -c bat -l italic-text -d " Specify when to use ANSI sequences for italic text (always, *never*)" +complete -c bat -l italic-text -xa 'always never' -d " Specify when to use ANSI sequences for italic text (always, *never*)" -# TODO: add completion for auto/never/always -complete -c bat -l decorations -d " Specify when to use the decorations specified with '--style' (*auto*, never, always)" +complete -c bat -l decorations -xa 'auto never always' -d " Specify when to use the decorations specified with '--style' (*auto*, never, always)" -# TODO: add completion for auto/never/always -complete -c bat -l paging -d " Specify when to use the pager (*auto*, never, always)" +complete -c bat -l paging -xa 'auto never always' -d " Specify when to use the pager (*auto*, never, always)" # TODO: add completion for sub-commands like less complete -c bat -l pager -d " Specify which pager to use (default is 'less') eg. 'less -RF'" -# TODO: add completion for auto/never/character -complete -c bat -l wrap -d " Specify the text-wrapping mode (*auto*, never, character)" +complete -c bat -l wrap -xa 'auto never character' -d " Specify the text-wrapping mode (*auto*, never, character)" complete -c bat -l tabs -d " Set the tab width to T spaces (width of 0 passes tabs through directly)"