Bug description
Make targets are suggested with a duplicated make prefix inside quotes. Accepting a suggestion inserts that incorrect command into the prompt.
Steps to reproduce
-
In a directory containing this Makefile:
-
Type make in a shell running IRIS.
-
Select the gen-all target from the completion menu.
Actual behavior
The menu displays make "make gen-all", and accepting it inserts make "make gen-all" into the prompt. That passes make gen-all as one quoted argument instead of invoking the gen-all target.
Expected behavior
The suggestion should display and insert make gen-all.
Additional context
In commands/runner/makefile.go, the generator includes prefix in each suggestion's Cmd. The completion lookup also adds the command prefix and quotes suggestions containing spaces, which appears to cause the duplicated, quoted command.
Screenshot

Bug description
Make targets are suggested with a duplicated
makeprefix inside quotes. Accepting a suggestion inserts that incorrect command into the prompt.Steps to reproduce
In a directory containing this Makefile:
Type
makein a shell running IRIS.Select the
gen-alltarget from the completion menu.Actual behavior
The menu displays
make "make gen-all", and accepting it insertsmake "make gen-all"into the prompt. That passesmake gen-allas one quoted argument instead of invoking thegen-alltarget.Expected behavior
The suggestion should display and insert
make gen-all.Additional context
In
commands/runner/makefile.go, the generator includesprefixin each suggestion'sCmd. The completion lookup also adds the command prefix and quotes suggestions containing spaces, which appears to cause the duplicated, quoted command.Screenshot