LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

fzy

Simple, fast fuzzy text selector for the terminal

TLDR

Fuzzy-pick a line from stdin
$ [command] | fzy
copy
Pick a file to edit
$ find . -type f | fzy | xargs -r $EDITOR
copy
Limit number of visible matches
$ [command] | fzy -l [20]
copy
Show help
$ fzy --help
copy

SYNOPSIS

fzy [-l *lines*] [-p *prompt*] [-q *query*] [-e *query*] [-t] [-s] [-0] [-j *workers*]

DESCRIPTION

fzy is a minimal fuzzy finder: it reads newline-separated candidates from stdin, interactively filters them as you type, and prints the selected line to stdout. It emphasizes ranking quality and speed with a small codebase, making it a lightweight alternative to heavier selectors.

PARAMETERS

-l, --lines *n*

Maximum number of matches shown (default often 10).
-p, --prompt *text*
Input prompt string.
-q, --query *text*
Initial query.
-e, --show-matches *query*
Non-interactive: print sorted matches for *query* and exit.
-t, --tty-only
Only use /dev/tty (behavior depends on version).
-0, --read-null
Read NUL-separated input.
-j *workers*
Parallel scoring workers.

INSTALL

sudo apt install fzy
copy
sudo pacman -S fzy
copy
sudo apk add fzy
copy
sudo zypper install fzy
copy
brew install fzy
copy
nix profile install nixpkgs#fzy
copy

CAVEATS

Needs a TTY for interactive mode. Ranking differs from fzf; scripts may need adjustment when switching tools.

SEE ALSO

fzf(1), pick(1), sk(1)

RESOURCES

Copied to clipboard
Kai