This was actually just a learning project for me, but I now use the command regularly. It's just my version of the tree command with a few less options so far but with icons. Verison: 1.0.0
Functionality
- Recursive directory listing (
-roption) - Hidden file visibility (
-aoption) - Symlink detection with target paths
- Set custom recursion depth
# Clone repository
git clone https://github.com/lukasfischer1998/woodyLS.git ~/.tree-command
# Make executable
chmod +x ~/.tree-command/bin/woodyLS.sh
# Add to shell config (choose one):
echo 'alias tree="~/.tree-command/bin/woodyLS.sh"' >> ~/.bashrc # Bash
echo 'alias tree="~/.tree-command/bin/woodyLS.sh"' >> ~/.zshrc # Zsh
# Reload shell
source ~/.bashrc # or source ~/.zshrc
# Check Install
tree --versiontree [OPTIONS]
-r, --recursive Show recursive directory tree
-a, --all Show hidden files
-d, --dirs-only Show directories only
-i, --include-ignored Show normally ignored directories ( node_modules etc.)
-rd, -dr Show recursive directories only
-ra, -ar Show recursive with hidden files
-rdep, --re-depth Set custom recursion depth ('--re-depth 2')
-f, --filter EXT Filter files by extension ('--filter=.txt')
-v, --version Show version information
-h, --help Show help message- Bash 5.0+
- Unicode 13
- ANSI Colors
MIT License - See License file
