Skip to content
Myr

Add as-tree to the README

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Suggested in this comment: https://github.com/sharkdp/fd/issues/283#issuecomment-627465260

authored by Jake Zimmerman · committed by David Peter · parent 151eaad · Browse files · 1 file+23 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+23 added−0 removed

  • other:+23 added−0 removed

1 file+23 added−0 removed

modified:README.md+23 added
552 unmodified lines
553554In emacs, run `M-x find-file-in-project-by-selected` to find matching files. Alternatively, run555`M-x find-file-in-project` to list all available files in the project.556557#### Printing fd's output as a tree558559To format the output of `fd` similar to the `tree` command, install [`as-tree`] and pipe the output560of `fd` to `as-tree`:561```bash562fd | as-tree563```564565This can be more useful than running `tree` by itself because `tree` does not ignore any files by566default, nor does it support as rich a set of options as `fd` does to control what to print:567```bash568❯ fd --extension rs | as-tree569.570├── build.rs571└── src572 ├── app.rs573 └── error.rs574```575576For more information about `as-tree`, see [the `as-tree` README][`as-tree`].577578[`as-tree`]: https://github.com/jez/as-tree579580## License581Copyright (c) 2017-2020 The fd developers582583`fd` is distributed under the terms of both the MIT License and the Apache License 2.0.
2 unmodified lines