History prefix matching
liclac opened this issue · comments
embr commented
If I have a history log that looks something like this:
install some-package
install other-package
remove some-package
If I type install
and press Up, it will suggest remove some-package
as it's the most recently entered command, but I think it would be much more helpful if it suggested install other-package
(the first command that matches the prefix).
Would a decent implementation of this be accepted? And would it be acceptable to change the default behaviour to this, or would you want it behind a Config flag?