mirror of
https://github.com/sharkdp/bat.git
synced 2024-11-25 17:23:39 +01:00
Fix character escape problem
This commit is contained in:
parent
046409d7c9
commit
222e080ce7
6
assets/completions/bat.zsh
vendored
6
assets/completions/bat.zsh
vendored
@ -8,7 +8,7 @@ args=(
|
|||||||
'(-A --show-all)'{-A,--show-all}'[Show non-printable characters (space, tab, newline, ..)]'
|
'(-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`)'
|
{-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'
|
'(-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'
|
'(--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]'
|
'(-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):()'
|
'(--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)'
|
'(--italic-text)'--italic-text='[Use italics in output]:<when>:(always never)'
|
||||||
'(--decorations)'--decorations='[When to show the decorations]:<when>:(auto never always)'
|
'(--decorations)'--decorations='[When to show the decorations]:<when>:(auto never always)'
|
||||||
'(--paging)'--paging='[Specify when to use the pager]:<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'
|
'(--theme)'--theme='[Set the color theme for syntax highlighting]:<theme>:->theme'
|
||||||
'(: --list-themes --list-languages -L)'--list-themes'[Display all supported highlighting themes]'
|
'(: --list-themes --list-languages -L)'--list-themes'[Display all supported highlighting themes]'
|
||||||
'(--style)'--style='[Comma-separated list of style elements to display]:<components>:->style'
|
'(--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]'
|
'(: --list-themes --list-languages -L)'{-L,--list-languages}'[Display all supported languages]'
|
||||||
'(: -)'{-h,--help}'[Print this help message]'
|
'(: -)'{-h,--help}'[Print this help message]'
|
||||||
'(: -)'{-V,--version}'[Show version information]'
|
'(: -)'{-V,--version}'[Show version information]'
|
||||||
|
Loading…
Reference in New Issue
Block a user