1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-10-30 22:54:07 +00:00

Update help, man page and completions

This commit is contained in:
Tau Gärtli
2024-08-18 20:32:23 +02:00
parent bc42149a72
commit 89ce060183
7 changed files with 65 additions and 13 deletions

View File

@@ -112,7 +112,12 @@ _bat() {
COMPREPLY=($(compgen -c -- "$cur"))
return 0
;;
--theme | \
--theme)
local IFS=$'\n'
COMPREPLY=($(compgen -W "auto${IFS}auto:always${IFS}auto:system${IFS}dark${IFS}light${IFS}$("$1" --list-themes)" -- "$cur"))
__bat_escape_completions
return 0
;;
--theme-dark | \
--theme-light)
local IFS=$'\n'