8 stable releases
1.6.0 | Oct 3, 2023 |
---|---|
1.5.0 | Aug 7, 2022 |
1.4.1 | Nov 6, 2021 |
1.3.6 | May 24, 2021 |
1.3.0 | May 12, 2020 |
#15 in #fuzzy-finder
23 downloads per month
105KB
1.5K
SLoC
fozzie
fozzie is a simple and quick fuzzy text selector for the terminal.
Installation
macOS and Linux
cargo install fozzie
Binaries are also available on the releases page of the repo. Download the tar file, and place the executable in your path.
From source
git clone https://github.com/npezza93/fozzie
cd fozzie
cargo build --release
find. -type f | ./target/release/fozzie
Usage
Pipe a list of items to fozzie and start searching:
find . -type f | fozzie
Scoring
fozzies scoring algorithm is currently heavily based on fzy's implementaion which can be found here. It favors consecutive letters and start of word matches
file
matches file
over filter
amp
matches app/models/posts.rb
abce
matches abcdef
over abc de
test
matches tests
over testing
appcont
matches app/controllers/application_controller.rb
over app/controllers/home_controller.rb
Dependencies
~9–18MB
~277K SLoC