PECO(1)
β¨ PECO(1) β¨
okay bestie, welcome to the User Commands corner of the manual, this is peco and she is THAT girl π
πΈ NAME πΈ
peco β a Simplistic interactive filtering tool. that's it. that's the whole vibe. no cap π«Ά
π SYNOPSIS π
peco [options] [FILE]
likeβ¦ give her some options, maybe a file, and watch her filter β¨
π OPTIONS π
here's the full menu, every single one, no skips, no crumbs left behind π
-h,--helpβ shows this help message and exits. your girl is helpful like that π--queryβ the initial value for the query. she starts pre-typed, main character energy π--rcfileβ path to the settings file. tell her where the config lives π--versionβ prints the version and exits. quick lil flex β¨-b,--buffer-sizeβ number of lines to keep in the search buffer. it's giving memory management π§--nullβ expect NUL (\0) as the separator for target/output. yes, the literal null byte, not a vibe check π--initial-indexβ position of the initial index of the selection. and heads up: it's 0 base, so first thing is0bestie π--initial-matcherβ specify the default matcher. ngl this one is deprecated π--initial-filterβ specify the default filter. the glow-up successor fr fr π--promptβ specify the prompt string. make her say what you want her to say π¬--layoutβ the layout to be used. it's either'top-down'or'bottom-up', and the default is'top-down'. periodt π―--select-1β selects the first item and immediately exits if the input contains only 1 item. only one? she's not doing a whole thing, she's done π¦--on-cancelβ specify the action on user cancel. either'success'or'error', and the default is'success'. β οΈ heads up though: this may change in future versions, so don't get too attached π₯²--selection-prefixβ uses a prefix instead of changing the line color to indicate the currently selected lines. the default is to use colors. π¨ this option is experimental, so treat her gently π--execβ execute a command instead of finishing/terminatingpeco. β οΈ please note, bestie: this command will receive the selected line(s) from stdin, and will be executed via'/bin/sh -c'orcmd /c. so like, be careful who you hand the aux to π₯
ngl, that --exec one is a whole lot of power in one flag. read it twice, bestie, then read it again π
and that's the whole page!! ty for coming to my ted talk π«Ά
this was peco version v0.5.1, dated December 2017, and yes she's still iconic for it πβ¨
π¦ where this page comes from
- debian bookworm: peco 0.5.10-1+b6 Β· MIT
- debian trixie: peco 0.5.10-1+b17 Β· MIT
- ubuntu jammy: peco 0.5.10-1 Β· MIT
- ubuntu jammy: peco 0.5.10-1ubuntu0.22.04.1 Β· MIT
- ubuntu noble: peco 0.5.10-1build1 Β· MIT
- ubuntu noble: peco 0.5.10-1ubuntu0.24.04.3 Β· MIT
- ubuntu questing: peco 0.5.10-1build1
- ubuntu resolute: peco 0.5.10-1build2 Β· MIT
- ubuntu stonking: peco 0.5.10-1build2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms