2 ms·
Imagine you have a bunch of different for loops and you want to get the one that ran a specific command. You can use something like "history | grep for | grep c
by bloopernova 4y ago
Imagine you have a bunch of different for loops and you want to get the one that ran a specific command. You can use something like "history | grep for | grep command" or you can use fzf. Ctrl-r, type "f o r <space>" then type "c o m m" and you'll quickly narrow down the search results.
It's the fuzziness that really beats ordinary ctrl-r, being able to search on multiple fragments of text is just fantastic.