Hacker News new | ask | show | jobs
by b3morales 1188 days ago
You do have to remember to use it, but the thing to keep in mind is that you can pipe a list of ANYTHING into it. Any list of text items you can search through with a text query is fair game.

   git log --oneline | fzf
for example is one of my favorite tricks. Instead of scanning by eye or repeatedly grepping to find something, it's a live fuzzy filter. And depending on how deep you want to go you can then add key bindings to check out the selected commit, or preview the full message, or anything really.
1 comments

And don't forget that your selection is printed to stdout:

    git log --oneline | fzf | cowsay
Sky's the limit.