Use --ansi only when the input really contains ANSI color codes.

Section: Troubleshooting and performance

Avoid broken matching on colored input

bash
bash
git status --short | fzf
Explanation

Passing --ansi unnecessarily can slow matching and complicate field parsing.

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 Troubleshooting and performance
Inspect your default source command
Print the configured default command before running fzf.
OpenIn sheetbashsame section
Prefer fd over find for speed
Switch your source command to fd for large trees.
OpenIn sheetbashsame section
Ignore hidden or VCS files unless needed
Reduce list size to improve responsiveness.
OpenIn sheetbashsame section
Remember shell functions are not external commands
Use standalone commands for child processes spawned by fzf.
OpenIn sheettextsame section
Run fzf through fzf-tmux
Open the finder in a tmux popup or split-aware wrapper.
Open selected files in Vim or Neovim
Pass chosen files directly to your editor.