bash autocomplete not working #2017
Labels
area/v2
relates to / is being considered for v2
kind/bug
describes or fixes a bug
status/triage
maintainers still need to look into this
My urfave/cli version is
github.com/urfave/cli/v2 v2.27.5
Checklist
Dependency Management
Describe the bug
A clear and concise description of what the bug is.
I built my application as specified in the documentation and use it as specified in https://cli.urfave.org/v2/examples/bash-completions/
However, when you press TAB on the command line with an incomplete sub-command name, nothing happens.
To reproduce
PROG=./out/bin/myprog source ./scripts/bash_autocomplete
./out/bin/myprog subcomm[press TAB]
Observed behavior
Nothing happens.
Expected behavior
bash auto-complete command in command-line to "subcommand".
Run
go version
and paste its output hereRun
go env
and paste its output hereThe text was updated successfully, but these errors were encountered: