LinuxCommandLibrary

peco

interactive filtering tool

TLDR

Interactive filter

$ ls | peco
copy
Filter with query
$ history | peco --query "[pattern]"
copy
Select file
$ find . -type f | peco | xargs [command]
copy
With custom prompt
$ peco --prompt="Select> "
copy

SYNOPSIS

peco [options]

DESCRIPTION

peco is an interactive filtering tool. Select from stdin with fuzzy matching.
The tool provides incremental search. Similar to fzf and percol.

PARAMETERS

--query STRING

Initial query.
--prompt STRING
Custom prompt.
--layout TYPE
Display layout (top-down, bottom-up).
--initial-index N
Start at line N.

CAVEATS

Terminal UI. Similar to fzf. Go-based.

HISTORY

peco was created as an interactive grep tool inspired by percol.

SEE ALSO

fzf(1), percol(1), grep(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community