Show HN: Turn your fzf into a live REPL
paweldu.dev
paweldu.dev
This is the result: https://gfycat.com/brokengiantcockerspaniel
[0]: https://github.com/silvanocerza/dotfiles/blob/master/zsh/zsh...
I have a `ll` alias which is use for 80% of my "what's in this folder" ls use - I just changed this alias (and a couple of others) to use exa. I left ls alone: I didn't alias ls to exa.
It's been a good QoL improvement for me, at ~zero cost.
> https://github.com/junegunn/fzf
> fzf is a general-purpose command-line fuzzy finder.
> It's an interactive Unix filter for command-line that can be used with any list; files, command history, processes, hostnames, bookmarks, git commits, etc.
Just the fact that fzf turns Ctrl-R into something which is actually usable (in comparison with the standard implementation like bash has which requires you to type exact commands from the start). And then all the other goodies which prevent you from having to type way too much cd/tab strokes. Maybe I just rely on fuzzy matching too much but since most software I use daily has it (text editors, IDEs and shells), it's really hard to imagine the amount of time lost before I had it.
Probably will add some security check to prevent user from running destructive commands at some point.
Please ____ the repo which will be updated regularly here
Normally you would run :Rg with a phrase to search for, but leaving it empty and typing it in live is really useful sometimes.
It's really fast too. On my machine running in WSL, it searches through hundreds of files and almost a megabyte of text as fast as I can type.