on master help sign in
use _describe instead of _values on subcommand
commit41a1952928ca6154f92a94d15a27281fe3eb33fd authorKienyew <aobi100bt@hotmail.com> dateSun 30 Aug 2020, 16:59 (6 years ago) parent9885d4e
1 file changed+3−1
assets/completions/bat.zsh+3−1
assets/completions/bat.zsh+3−1
@@ -76,7 +76,9 @@ _bat_main() {
7676
7777# first positional argument
7878if (( ${#words} == 2 )); then
79− _values subcommand cache
79+ local -a subcommands
80+ subcommands=('cache:Modify the syntax-definition and theme cache')
81+ _describe subcommand subcommands
8082 _bat_main
8183else
8284 case $words[2] in