From 6fc7ebf37a63645d9d19e71ca252f67f7074a2e9 Mon Sep 17 00:00:00 2001 From: NotWearingPants Date: Mon, 11 Oct 2021 20:13:16 +0300 Subject: [PATCH] Add missing style values in fish & zsh completions (#1890) --- assets/completions/bat.fish.in | 2 +- assets/completions/bat.zsh.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/completions/bat.fish.in b/assets/completions/bat.fish.in index d72df0fa..3c002a3f 100644 --- a/assets/completions/bat.fish.in +++ b/assets/completions/bat.fish.in @@ -56,7 +56,7 @@ complete -c {{PROJECT_EXECUTABLE}} -s P -d "Disable paging. Alias for '--paging= complete -c {{PROJECT_EXECUTABLE}} -s A -l show-all -d "Show non-printable characters like space/tab/newline" -n "not __fish_seen_subcommand_from cache" -complete -c {{PROJECT_EXECUTABLE}} -l style -xka "auto full plain changes header grid numbers" -d "Comma-separated list of style elements or presets to display with file contents" -n "not __fish_seen_subcommand_from cache" +complete -c {{PROJECT_EXECUTABLE}} -l style -xka "auto full plain changes header grid rule numbers snip" -d "Comma-separated list of style elements or presets to display with file contents" -n "not __fish_seen_subcommand_from cache" complete -c {{PROJECT_EXECUTABLE}} -l tabs -x -d " Set the tab width to T spaces (width of 0 passes tabs through directly)" -n "not __fish_seen_subcommand_from cache" diff --git a/assets/completions/bat.zsh.in b/assets/completions/bat.zsh.in index 205b1ec9..12ae8b8e 100644 --- a/assets/completions/bat.zsh.in +++ b/assets/completions/bat.zsh.in @@ -75,7 +75,7 @@ _{{PROJECT_EXECUTABLE}}_main() { ;; style) - _values -s , 'style' auto full plain changes header grid numbers snip + _values -s , 'style' auto full plain changes header grid rule numbers snip ;; esac }