Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 647346 - app-shells/fzy: Fuzzy text selector (interactive grep) for console
Summary: app-shells/fzy: Fuzzy text selector (interactive grep) for console
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Georgy Yakovlev
URL: https://github.com/jhawthorn/fzy
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-11 21:30 UTC by Georgy Yakovlev
Modified: 2018-02-20 21:06 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Georgy Yakovlev archtester gentoo-dev 2018-02-11 21:30:40 UTC
It can be used to filter any list:
files, command history, processes, hostnames, bookmarks, git commits, etc.
It's designed to be used both as an editor plugin and on the command line.
Rather than clearing the screen, fzy displays its interface directly below
the current cursor position, scrolling the screen if necessary.

Major benefits are: speed, great results with an advanced algorithm, no dependencies except toolchain.
Most similar tools are written in go, rust or python and slower.

fzy uses suckless.org methodology and a user can adjust config.h and recompile it to change a handful of settings.
Gentoo provides savedconfig.eclass to let user configure this kind of software unlike on binary distros. No existing ebuilds in overlays provide this functionality.

Also it installs 2 helper scripts, fzy-tmux and fzy-dvtm, which can be used to open the results in a separate tmux/dvtm pane.

other distributions with fzy
https://repology.org/metapackage/fzy/versions

ebuilds in overlays
https://gpo.zugaina.org/app-shells/fzy

similar tools already in portage (Non-exhaustive list):
app-shells/hstr
app-shells/peco


You can assign the but to me as I'm going to create a PR and maintain the package.

Reproducible: Always
Comment 1 Patrice Clement gentoo-dev 2018-02-20 21:05:53 UTC
Awesome software. I LOVE these. Thanks for the PR! I'm going to merge it ASAP.

Thanks again Georgy!
Comment 2 Larry the Git Cow gentoo-dev 2018-02-20 21:06:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0bc8f3423f46fc5f189a91fd778bfd794b07d15

commit b0bc8f3423f46fc5f189a91fd778bfd794b07d15
Author:     Georgy Yakovlev <ya@sysdump.net>
AuthorDate: 2018-02-11 21:30:55 +0000
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: 2018-02-20 21:06:42 +0000

    app-shells/fzy: new package.
    
    fzy is a fuzzy text selector (interactive grep) for console.
    
    fzy can be used to filter any list: files, command history, processes,
    hostnames, bookmarks, git commits, etc. It's designed to be used both as an
    editor plugin and on the command line. Rather than clearing the screen, fzy
    displays its interface directly below the current cursor position, scrolling
    the screen if necessary.
    
    Closes: https://bugs.gentoo.org/647346
    Closes: https://github.com/gentoo/gentoo/pull/7159
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 app-shells/fzy/Manifest       |  1 +
 app-shells/fzy/fzy-0.9.ebuild | 33 +++++++++++++++++++++++++++++++++
 app-shells/fzy/metadata.xml   | 27 +++++++++++++++++++++++++++
 3 files changed, 61 insertions(+)