on master help sign in
Add some more options to bash completion

https://github.com/sharkdp/bat/pull/1702#issuecomment-872452683

commit8b37e62cf3fe0e8fb04a30aba1cdfa8de61a0e6b authorVille Skyttä <ville.skytta@iki.fi> dateThu 1 Jul 2021, 23:10 (5 years ago) parent4296d47
1 file changed+6−3
assets/completions/bat.bash.in+6−3
assets/completions/bat.bash.in+6−3
@@ -32,8 +32,9 @@ _bat() {
3232 ;;
3333 -H | --highlight-line | --diff-context | --tabs | --terminal-width | \
3434 -m | --map-syntax | --style | --line-range | -h | --help | -V | \
35− --version)
36− # argument required but no completion available, or argument
35+ --version | --diagnostic | --config-file | --config-dir | \
36+ --cache-dir | --generate-config-file)
37+ # argument required but no completion available, or option
3738 # causes an exit
3839 return 0
3940 ;;
@@ -74,7 +75,9 @@ _bat() {
7475 --terminal-width --number --color --italic-text
7576 --decorations --paging --pager --map-syntax --theme
7677 --list-themes --style --line-range --list-languages
77− --help --version
78+ --help --version --force-colorization --unbuffered
79+ --diagnostic --config-file --config-dir --cache-dir
80+ --generate-config-file
7881 " -- "$cur"))
7982 return 0
8083 fi