A simple fuzzy finder written in Rust which displays results in an interactive tree format.
- Get Rust
- Install
fd
(optional but recommended, the default find command isfd
) - Clone this repo (optional)
- Run
cargo install --path <repo path>
(if you did step 3) orcargo install fuzzy-tree
- Use
fztree
!
Using a different command (--cmd
): The output from the command given must be
a new-line separated list of strings. While running fuzzy tree on a file list
generated from elsewhere, the directory prefix and functionality currently
relies on input items being detectable as directories relative to the path
fuzzy tree was executed from. (This could be mitigated by utilising a trailing
separator, /
or \
, to detect directories. Currently neither find
nor fd
make this easily available however).
Contributions are very welcome! Feel free to fork and open MRs (PRs in GitHub speak). NB the GitLab site is the primary location for this project, so issues/MRs should be opened there.
My only preferences are:
- A relevant issue is opened and discussed.
- MRs are concise.
- Code is formatted according to local
rustfmt
rules. - Tests are implemented/updated.