Julian @fettstorch.dev · Nov 17

I am very fond of the 'tree' program. If you're also in the terminal a lot and like to get a quick overview of a certain dir you can enhance it very easily by using: -C (for colorized output) --gitignore (apply .gitignore to the search (!)) --dirsfirst (to sort dirs on top) #terminal #dev

2 likes 1 replies

?

Replies

Julian · Nov 17

I aliased it to 'tre' like this: 'alias tre="tree -C --gitignore --dirsfirst"' and it makes quick peeks into a dir super comfortable. Even just not getting node_modules thrown into your face clogging your whole terminal by using --gitignore is super nice 🧘🏼‍♂️👌