From 04e7d2a313b9cea3076b3d0fa3d40fe761f80aeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maria=20Jos=C3=A9=20Solano?= Date: Sun, 29 Oct 2023 14:35:19 -0700 Subject: [PATCH] fix(completions): add missing fish completions --- assets/completions/bat.fish.in | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/assets/completions/bat.fish.in b/assets/completions/bat.fish.in index b0392dfd..d86ebfe6 100644 --- a/assets/completions/bat.fish.in +++ b/assets/completions/bat.fish.in @@ -147,6 +147,8 @@ complete -c $bat -s d -l diff -d "Only show lines with Git changes" -n __bat_no_ complete -c $bat -l diff-context -x -d "Show N context lines around Git changes" -n "__fish_seen_argument -s d -l diff" +complete -c $bat -l generate-config-file -f -d "Generates a default configuration file" -n __fish_is_first_arg + complete -c $bat -l file-name -x -d "Specify the display name" -n __bat_no_excl_args complete -c $bat -s f -l force-colorization -d "Force color and decorations" -n __bat_no_excl_args @@ -173,6 +175,12 @@ complete -c $bat -l list-themes -f -d "List syntax highlighting themes" -n __fis complete -c $bat -s m -l map-syntax -x -a "(__bat_complete_map_syntax)" -d "Map :" -n __bat_no_excl_args +complete -c $bat -l no-config -d "Do not use the configuration file" + +complete -c $bat -l no-custom-assets -d "Do not load custom assets" + +complete -c $bat -l no-lessopen -d "Disable the $LESSOPEN preprocessor if enabled (overrides --lessopen)" + complete -c $bat -s n -l number -d "Only show line numbers, no other decorations" -n __bat_no_excl_args complete -c $bat -l pager -x -a "$pager_opts" -d "Which pager to use" -n __bat_no_excl_args