Had some difficulty with setting up tab completion today (Fish). I do have it working as intended at this point, but I think the ux can be improved.
At minimum, the documentation should mention that you must lead with a '-' to get tab completions, as this feels like non standard behavior.
Preferably, however, completions should be changed to not need a leading '-'. #641 shows I'm not the only one to get tripped up by this. And while procs expects arbitrary input, I doubt people will be trying to tab complete for arbitrary input.
Desired behavior:
Typing procs<tab> should result in the current behavior of procs -<tab>
People can still do arbitrary text input after typing procs without tab completion messing them up.
Had some difficulty with setting up tab completion today (Fish). I do have it working as intended at this point, but I think the ux can be improved.
At minimum, the documentation should mention that you must lead with a '-' to get tab completions, as this feels like non standard behavior.
Preferably, however, completions should be changed to not need a leading '-'. #641 shows I'm not the only one to get tripped up by this. And while procs expects arbitrary input, I doubt people will be trying to tab complete for arbitrary input.
Desired behavior:
Typing
procs<tab>should result in the current behavior ofprocs -<tab>People can still do arbitrary text input after typing procs without tab completion messing them up.