I created another command with Modern C++ just to pass the time. It's another tree option, but with icons =)
🌳 Build ans install
git clone https://github.com/terroo/treepp
cmake -B build .
cmake --build build/
sudo cmake --install build/
✍️ Using
Examples
tree++ .
tree++ /path/to/dir
# or
tree++ /path/to/dir/
The slash at the end does not depend on.
🎄 Default tree
If you want it to be your default tree
command, run:
sudo apt remove tree
sudo ln -s /usr/local/bin/tree++ /usr/local/bin/tree
📝 ToDo
- [ ] - Add colors! =)