summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederick Zhang <frederick888@tsundere.moe>2021-06-23 21:57:42 +1000
committerDavid Peter <sharkdp@users.noreply.github.com>2021-06-28 11:59:01 +0200
commit42f1ef019a83dc042e7235283e0bde208f821055 (patch)
treeae1d68ee64bdf97b3fca7cfaacdbb1f5f473420f
parentfe8e526292758a26112a6c3d4d2b186fe689bdc4 (diff)
Fix missing config/cache arguments in Zsh completion
-rw-r--r--assets/completions/bat.zsh.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/assets/completions/bat.zsh.in b/assets/completions/bat.zsh.in
index edaf7aee..e3683e8a 100644
--- a/assets/completions/bat.zsh.in
+++ b/assets/completions/bat.zsh.in
@@ -44,6 +44,11 @@ _{{PROJECT_EXECUTABLE}}_main() {
'(--style)'--style='[Comma-separated list of style elements to display]:<components>:->style'
'(-r --line-range)'{-r+,--line-range=}'[Only print the lines from N to M]:<N\:M>...'
'(: --list-themes --list-languages -L)'{-L,--list-languages}'[Display all supported languages]'
+ '(: --no-config)'--no-config'[Do not use the configuration file]'
+ '(: --config-dir)'--config-dir'[Show bat'"'"'s configuration directory]'
+ '(: --config-file)'--config-file'[Show path to the configuration file]'
+ '(: --generate-config-file)'--generate-config-file'[Generates a default configuration file]'
+ '(: --cache-dir)'--cache-dir'[Show bat'"'"'s cache directory]'
'(: -)'{-h,--help}'[Print this help message]'
'(: -)'{-V,--version}'[Show version information]'
'*: :_files'