fix: Make cmd a local var in bash completion
@@ -22,7 +22,7 @@ impl Generator for Bash {
buf,
format!(
"_{name}() {{
- local i cur prev opts cmds
+ local i cur prev opts cmd
COMPREPLY=()
cur=\"${{COMP_WORDS[COMP_CWORD]}}\"
prev=\"${{COMP_WORDS[COMP_CWORD-1]}}\"
