A tool to search through your history.
I use iterm2, so if you don't things might break? I dunno.
If this doesn't work for you, too bad.
In a terminal, type asdf
, then type a search string.
Up/Down arrows -> Select a result Left -> Delete the selected command from your history Right -> Prefil your command prompt with the selected command
Searching:
Deleting:
Prefilling:
Download and build this: https://github.com/rtomaszewski/experiments/blob/master/type-command.c
Name it prefill, and make sure it's on your path.
(That project doesn't have a license, so I can't redistribute it here)
Clone this project and add the folder to your path.