Autocompleting Files, Directories, Processes, and More with fzf
Explore how to install and use fzf, a fuzzy finder tool that enhances file, directory, and process autocompletion in the command-line interface. Learn to navigate complex file systems, copy directories using fzf, and integrate it with commands like cat and cd to increase efficiency.
We'll cover the following...
Navigating a more complex filesystem like a codebase can be challenging, even with tab completion. The fzf tool lets us navigate our filesystem, history, and even processes by searching for partial words. It’s a fuzzy finder for our shell.
Unfortunately, fzf isn’t available through Ubuntu’s package manager. To install fzf on Ubuntu, we grab its source code from GitHub and run an installer script. The easiest way to do this is to install Git on our Ubuntu machine and use it to clone the source code repository. Git isn’t covered in this course. We’re just going to use it to fetch the fzf ...