summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKienyew <31496021+Kienyew@users.noreply.github.com>2020-08-08 14:31:39 +0800
committerDavid Peter <sharkdp@users.noreply.github.com>2020-09-14 11:28:09 +0200
commit222e080ce7c3a3aefdd29c71a9e20088c97e501a (patch)
treef6f7a70c55e04daf15cb713bfb935fa504d0ba7e
parent046409d7c9ca4e67ae7f9ac7fda145048ebf80f9 (diff)
Fix character escape problem
-rw-r--r--assets/completions/bat.zsh6
1 files changed, 3 insertions, 3 deletions
diff --git a/assets/completions/bat.zsh b/assets/completions/bat.zsh
index 35ec2982..5e39d2be 100644
--- a/assets/completions/bat.zsh
+++ b/assets/completions/bat.zsh
@@ -8,7 +8,7 @@ args=(
'(-A --show-all)'{-A,--show-all}'[Show non-printable characters (space, tab, newline, ..)]'
{-p,--plain}'[Show plain style (alias for `--style=plain`)]:When `-p` is used twice (`-pp`), it also disables automatic paging (alias for `--style=plain --paging=never`)'
'(-l --language)'{-l+,--language=}'[Set the language for syntax highlighting]:<language>:->language'
- '(-H --highlight-line)'{-H,--highlight-line}'[Highlight lines N through M]:<N:M>...'
+ '(-H --highlight-line)'{-H,--highlight-line}'[Highlight lines N through M]:<N\:M>...'
'(--file-name)'--file-name'[Specify the name to display for a file]:<name>...:_files'
'(-d --diff)'--diff'[Only show lines that have been added/removed/modified]'
'(--diff-context)'--diff-context'[Include N lines of context around added/removed/modified lines when using `--diff`]:<N> (lines):()'
@@ -20,11 +20,11 @@ args=(
'(--italic-text)'--italic-text='[Use italics in output]:<when>:(always never)'
'(--decorations)'--decorations='[When to show the decorations]:<when>:(auto never always)'
'(--paging)'--paging='[Specify when to use the pager]:<when>:(auto never always)'
- '(-m --map-syntax)'{-m+,--map-syntax=}'[Use the specified syntax for files matching the glob pattern]:<glob:syntax>...'
+ '(-m --map-syntax)'{-m+,--map-syntax=}'[Use the specified syntax for files matching the glob pattern]:<glob\:syntax>...'
'(--theme)'--theme='[Set the color theme for syntax highlighting]:<theme>:->theme'
'(: --list-themes --list-languages -L)'--list-themes'[Display all supported highlighting themes]'
'(--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>...'
+ '(-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]'
'(: -)'{-h,--help}'[Print this help message]'
'(: -)'{-V,--version}'[Show version information]'