It would be nice if when doing a history search, I could start from a regex. For example, if my history contained:
foo bar baz
I should be able to type:
foo.*baz with an Alt-Up [1] and find foo bar baz.
On a related note, even history --search doesn't seem to work with regexes -- one has to grep it for equivalent behavior.
[1] I'm not sure if this should be the default behavior or gated behind a separate key combo from a regular history traversal. Perhaps Ctrl-Alt-Up or something like that.
It would be nice if when doing a history search, I could start from a regex. For example, if my history contained:
foo bar bazI should be able to type:
foo.*bazwith anAlt-Up[1] and findfoo bar baz.On a related note, even
history --searchdoesn't seem to work with regexes -- one has togrepit for equivalent behavior.[1] I'm not sure if this should be the default behavior or gated behind a separate key combo from a regular history traversal. Perhaps Ctrl-Alt-Up or something like that.