fzf Install, Upgrade, and Shell Integration/Set a better default file source

Use fd instead of find for faster file listings.

Section: Shell integration

Set a better default file source

bash
bash
export FZF_DEFAULT_COMMAND='fd --type f --hidden --follow --exclude .git'
Explanation

A common optimization because fd is faster and easier to tune than raw find.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Shell integration
Source zsh integration
Load fzf key bindings and completion in zsh.
OpenIn sheetbashsame section
Source bash integration
Load fzf key bindings and completion in bash.
OpenIn sheetbashsame section
Define global default options
Apply common options to every fzf invocation.
OpenIn sheetbashsame section
Customize CTRL-T picker
Tune the file picker bound to CTRL-T.
OpenIn sheetbashsame section
Install with Homebrew
Install fzf on macOS or Linux with Homebrew.
Install with apt
Install fzf from Debian or Ubuntu repositories.