Scroll to navigation

FZY(1) General Commands Manual FZY(1)


fzy - A fuzzy text selector menu for the terminal.


fzy [OPTION]...


fzy is a fuzzy text selector/file finder for the terminal using a search similar to that of TextMate or CmdT.

fzy reads a list of newline-separated items from stdin to be displayed as a menu in the terminal. Upon pressing ENTER, the currently selected item is printed to stdout.

Entering text narrows the items using fuzzy matching. Results are sorted using heuristics for the best match.


How many lines of items to display. If unspecified, defaults to 10 lines.
Input prompt (default: '> ')
Show the scores for each item.
Use TTY instead of the default tty device (/dev/tty).
Use QUERY as the initial search query.
Non-interactive mode. Print the matches in sorted order for QUERY to stdout.
Usage help.
Usage help.


Print the selected item to stdout and exit
Exit with status 1, without making a selection.
Select the previous item
Select the next item
Replace the current search string with the selected item
Delete the character before the cursor
Delete the word before the cursor
Delete the entire line


Present a menu of items in the current directory
Same as above, but show 25 lines of items
List files under the current directory and open the one selected in vi.
Present all directories under current path, and change to the one selected.
List running processes, kill the selected process
Same as above, but switching git branches.


John Hawthorn <>

2018-09-23 fzy 1.0