diff options
author | Maria José Solano <majosolano99@gmail.com> | 2023-10-29 14:35:19 -0700 |
---|---|---|
committer | Martin Nordholts <enselic@gmail.com> | 2023-11-04 08:51:13 +0100 |
commit | 04e7d2a313b9cea3076b3d0fa3d40fe761f80aeb (patch) | |
tree | 11469ab2f92aa4e3c8400ce70983c16e82c22679 /assets/completions | |
parent | bcc2de86b47c26ad5393588aaead540e348dfc3c (diff) |
fix(completions): add missing fish completions
Diffstat (limited to 'assets/completions')
-rw-r--r-- | assets/completions/bat.fish.in | 8 |
1 files changed, 8 insertions, 0 deletions
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 <glob pattern>:<language syntax>" -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 |