v3 fish completions include subcommands and files #2113
Labels
area/v3
relates to / is being considered for v3
kind/bug
describes or fixes a bug
status/triage
maintainers still need to look into this
My urfave/cli version is
c6c5804
Checklist
Describe the bug
fish completions includes files even though there are commands available and no indication that file completion is desirable.
Expected behavior
Fish completions tend to suggest paths only when it is known that a path is expected.
Want to fix this yourself?
The root cause of this is that fish assumes by default that paths are welcome. subcommand
complete
s will need to give-f
(or-x
) to avoid suggesting files. PR in progress.Run
go version
and paste its output hereRun
go env
and paste its output hereThe text was updated successfully, but these errors were encountered: