1. 26
  1.  

  2. 15

    Aren’t these tricks exactly what’s in the project’s README: https://github.com/junegunn/fzf#fuzzy-completion-for-bash-and-zsh?

    1. 2

      Sure looks like it. I will note that I’d totally missed some of the shell completion stuff that’s in there (I’m not sure if it’s a recent addition), despite having used fzf for years now.

    2. 3

      I am perhaps the very last person to adopt these newfangled rust-based versions of basic shell utilities…however I recently was forced to switch from gnu rgrep to rg by a large and unruly codebase I now work on. Wish I’d switched ages ago. rg is a lot quicker (largely I think because it carefully avoids digging through irrelevant stuff like node modules).

      What other ones should I look at?

      However…I only really call this stuff from emacs, so fzf is probably not much use to be as the emacs file finder is fine as it is. For context I hate change and it would require a minor miracle for me to use a piece of software not packaged in debian

      1. 4

        What other ones should I look at?

        bat is quite great, though its fanciness can get in a way (I mean specifically the line wrapping being done both by bat and by the terminal if you’d resize it).

        fd is great for simple file search (think: find(1)) though I’m not perfectly happy with its featureset.

        exa is a fancy ls(1) replacement. No comment here, it does exactly what’s on the lid.

        However…I only really call this stuff from emacs, so fzf is probably not much use to be as the emacs file finder is fine as it is.

        fzf is what you’d call a completing-read or “completion UI” in the Emacs world. fzf only filters what it’s given, defaulting to calling find(1) internally I believe. Inside Emacs you have the likes of Selectrum for that already.

        1. 1

          exa looks wonderful. Reminds me of tweaks I did on Emacs dired to achieve similar styling https://xenodium.com/showhide-emacs-dired-details-in-style

        2. 2

          fzf is packaged in Debian as of Buster (10), and has a backport for Stretch (9).

          1. 1

            rga: ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz, etc. https://github.com/phiresky/ripgrep-all

          2. 1

            Really nice article! I have been meaning to jump on the fzf bandwagon for a while now and maybe this is finally the right time :D

            1. 1

              Link dead for me, can’t resolve host. Anyone else?