3 ms·
Agreed, particularly if you pipe to fzf. (For those who haven't used it, fzf is a fuzzy-searchable menu for the command line. You pipe lines of input to it, an
by brushfoot 2y ago
Agreed, particularly if you pipe to fzf.
(For those who haven't used it, fzf is a fuzzy-searchable menu for the command line. You pipe lines of input to it, and it shows them in a menu. You start typing and it fuzzy searches the menu and selects the best match. Then you press Enter to pipe that out, or Tab for multi-select. It's fantastic.)
I have convenience functions in my profile script that pipe different things to fzf...scripts, paths in the current directory to copy to the clipboard, etc. It's indispensable.
Bonus: progressive enhancement. If someone doesn't have fzf/those convenience functions, it's just a directory with shell scripts, so they don't have to do anything special to use them.