I might try this. Normally would just pipe history into grep to search or scroll till I found the right command. Also smite is a great name for that function.
Right, I was starting to think “Oh yeah and maybe I could fzf history…” then wait, I already do that reverse-i-search then edit. If I use that often enough, alias in ~/.bashrc or even function to make it composable.
I might try this. Normally would just pipe history into grep to search or scroll till I found the right command. Also
smite
is a great name for that function.I use ctrl-r.
Right, I was starting to think “Oh yeah and maybe I could fzf history…” then wait, I already do that
reverse-i-search
then edit. If I use that often enough, alias in ~/.bashrc or even function to make it composable.Excellent, thanks