The bootstrap script installed three powerful search tools that replace traditional Unix utilities with faster, more user-friendly alternatives.

ripgrep (rg) - Search File Contents

ripgrep searches inside files for text patterns. It's like grep but much faster and smarter.

Basic Search

Ubuntu
rg "search term"

Searches all files in current directory and subdirectories.

Search in Specific Directory

Ubuntu
rg "TODO" ~/projects/myapp/

Search Specific File Types

Ubuntu
rg "function" --type js

Case-Insensitive Search

Ubuntu
rg -i "error"
ripgrep respects .gitignore

By default, ripgrep skips files in .gitignore, node_modules, and hidden directories. Use rg -u to search everything.

fd - Find Files by Name

fd finds files and directories by name. It's like find but with a simpler syntax.

Find by Name

Ubuntu
fd readme

Finds all files with "readme" in the name (case-insensitive).

Find by Extension

Ubuntu
fd -e py

Finds all Python files.

Find in Specific Directory

Ubuntu
fd config ~/.config/

Find Directories Only

Ubuntu
fd -t d src

fzf - Fuzzy Finder

fzf is an interactive fuzzy finder. It lets you search through any list interactively, narrowing results as you type.

Interactive File Search

Ubuntu
fzf

Opens an interactive file picker. Type to filter, arrow keys to select, Enter to confirm.

Pipe Anything to fzf

Ubuntu
cat ~/.bash_history | fzf

Search through your command history.

Preview Files

Ubuntu
fzf --preview 'bat --color=always {}'

Shows a preview of each file as you browse.

fzf Keyboard Shortcuts

The bootstrap script enables these shortcuts in your shell:

Shortcut Action
Ctrl+T Fuzzy find files, insert path
Ctrl+R Fuzzy search command history
Alt+C Fuzzy find directories, cd into selection
The killer feature: Ctrl+R

Ctrl+R with fzf is incredible. Start typing any part of a previous command and fzf will find it. Way better than scrolling through history.