just discovered bashhub – after years of using the built-in tool ‘history’ then piping through grep to find past commands. I don’t get all the options available, but the basic bashhub features allow you to do this sort of search in one step, or enter interactive mode (sorta like htop but for your command history).