Skip to content

Dependencies

These tools must be installed for my-fzf to load. If any are missing, my-fzf aborts with an error message.

ToolPurposeInstall
fzfFuzzy finder — the core selection UIpacman -S fzf / brew install fzf / apt install fzf
fdFast file and directory search — replaces findpacman -S fd / brew install fd / apt install fd-find
rg (ripgrep)Fast content search — replaces greppacman -S ripgrep / brew install ripgrep / apt install ripgrep
batFile preview with syntax highlightingpacman -S bat / brew install bat / apt install bat
zoxideSmart cd that learns your habitspacman -S zoxide / brew install zoxide / apt install zoxide

These tools enhance my-fzf but are not required. Missing optional dependencies are warned about at load time, and related commands are skipped.

ToolPurposeAffected Commands
nvim (Neovim)Open files in editorn and gn commands (fcn, frn, fgn, fcgn, frgn, fggn, etc.)

When you source my-fzf.sh, it checks for each required dependency using command -v. If any required tool is missing, my-fzf prints an error and aborts — no commands are defined.

For optional dependencies, my-fzf prints a warning but continues loading. Commands that depend on the missing tool are simply not generated.

Terminal window
# What you'll see if fd is missing:
my-fzf: required dependency 'fd' not found aborting
# What you'll see if nvim is missing:
my-fzf: optional dependency 'nvim' not found related commands skipped