Skip to content

Commit

Permalink
Add --no-* options to Bash/Zsh completions
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Jun 9, 2024
1 parent 8e00b9f commit 090b605
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions assets/completions/bat.bash.in
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,9 @@ _bat() {
--config-dir
--config-file
--generate-config-file
--no-config
--no-custom-assets
--no-lessopen
" -- "$cur"))
return 0
fi
Expand Down
1 change: 1 addition & 0 deletions assets/completions/bat.zsh.in
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ _{{PROJECT_EXECUTABLE}}_main() {
default auto full plain changes header header-filename header-filesize grid rule numbers snip'
\*{-r+,--line-range=}'[only print the specified line range]:start\:end'
'(* -)'{-L,--list-languages}'[display all supported languages]'
-P'[disable paging]'
"--no-config[don't use the configuration file]"
"--no-custom-assets[don't load custom assets]"
'(--no-lessopen)'--lessopen'[enable the $LESSOPEN preprocessor]'
Expand Down

0 comments on commit 090b605

Please sign in to comment.