VibeHunt
Back to browse
tre

tre

`tree` with git awareness, editor aliasing, and more.

Source

It displays a directory hierarchy as a tree diagram, similar to the classic `tree` command, but automatically omits files ignored by Git according to the repository’s `.gitignore`. The output follows the user’s `LS_COLORS` settings, providing colored entries when available. An optional `-e` flag enables editor aliasing: each listed file receives a numeric shortcut, and typing the corresponding alias (e.g., `e3`) opens the file in the default editor or a specified program.

The tool is intended for developers and system users who need a quick visual overview of a project’s structure while respecting version‑control exclusions, and who want to launch files directly from the listing without leaving the shell. It works on macOS, Linux, and Windows, and can be installed via many package managers, as a pre‑built binary, or from source with Cargo.

Editor aliasing is implemented by generating temporary shell scripts that define the numeric aliases after each run. The scripts are sourced automatically (or manually) in Bash, Zsh, Fish, PowerShell, or CMD, allowing seamless integration with the user’s preferred editor or file‑opening program.

Reviews

Sign in to leave a review.

Loading reviews…

Similar apps