I created another command with Modern C++ just to pass the time. It’s another tree option, but with icons =)
git clone https://github.com/terroo/treepp
cmake -B build .
cmake --build build/
sudo cmake --install build/
Examples
tree++ .
tree++ /path/to/dir
# or
tree++ /path/to/dir/
The slash at the end does not depend on.
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