Add --no-* options to Bash/Zsh completions

This commit is contained in:
Koichi Murase committed 2024-07-29 12:18:40 +09:00
1 parent 83a15ac05f
commit b1cdc06430
2 files changed
+4

No files matched your search

+3
View File
@@ -186,6 +186,9 @@ _bat() {
--config-dir
--config-file
--generate-config-file
--no-config
--no-custom-assets
--no-lessopen
" -- "$cur"))
return 0
fi
+1
View File
@@ -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]'