I tried (and failed) to get nice tab completion like in wd: e7660f3. Printing text from the autocomplete statement caused things to behave poorly.
In general, it doesn't seem like bash allows you to separate completion output from the actual completion list being matched against; COMPREPLY does both.
If someone can think of a way to do this, though, please let me know.
I tried (and failed) to get nice tab completion like in
wd: e7660f3. Printing text from the autocomplete statement caused things to behave poorly.In general, it doesn't seem like bash allows you to separate completion output from the actual completion list being matched against;
COMPREPLYdoes both.If someone can think of a way to do this, though, please let me know.