mirror of
https://github.com/sharkdp/bat.git
synced 2025-10-30 14:43:57 +00:00
Generalize --detect-color-scheme to --color-scheme
This commit is contained in:
6
assets/completions/bat.bash.in
vendored
6
assets/completions/bat.bash.in
vendored
@@ -100,10 +100,12 @@ _bat() {
|
||||
COMPREPLY=($(compgen -W "auto never character" -- "$cur"))
|
||||
return 0
|
||||
;;
|
||||
--color | --decorations | --paging | --detect-color-scheme)
|
||||
--color | --decorations | --paging)
|
||||
COMPREPLY=($(compgen -W "auto never always" -- "$cur"))
|
||||
return 0
|
||||
;;
|
||||
--color-scheme)
|
||||
COMPREPLY=($(compgen -W "auto auto:always dark light system" -- "$cur"))
|
||||
--italic-text)
|
||||
COMPREPLY=($(compgen -W "always never" -- "$cur"))
|
||||
return 0
|
||||
@@ -166,7 +168,6 @@ _bat() {
|
||||
--color
|
||||
--italic-text
|
||||
--decorations
|
||||
--detect-color-scheme
|
||||
--force-colorization
|
||||
--paging
|
||||
--pager
|
||||
@@ -175,6 +176,7 @@ _bat() {
|
||||
--theme
|
||||
--theme-dark
|
||||
--theme-light
|
||||
--color-scheme
|
||||
--list-themes
|
||||
--squeeze-blank
|
||||
--squeeze-limit
|
||||
|
||||
Reference in New Issue
Block a user