Open fzf with an initial search string.
Section: Query and output control
Start with a prefilled query
bash
bash
git branch --all | fzf --query='feature/'Explanation
Good for narrowing large lists from the first render.
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 Query and output control
Auto-accept single matches
Accept immediately when there is exactly one match.
Run in non-interactive filter mode
Use fzf as a fuzzy filter without opening the UI.
Open the selected file in an editor
Capture the selected value and open it with $EDITOR.