Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Prove it. Show me the output of BSD or GNU ls and compare it with lsd.


Go to your dircolors file in /etc/dircolors, if it’s not there create it first with the dircolors command. Make sure your terminal is using a nerdfont patched font. Set colors in dircolors for various file types to whatever you want and append or prefix whatever icons you want to use. Done. Define granular rules for other extensions if you wish.


Have you looked at lsd?

How does dircolors add support to nerdfont?

How does it add different colors to user, group, permissions in the equivalent of ls -l?

Also, dircolors is not included in OS X.


I’m sorry, I didn’t read your answer right. I’ll try what you suggested when get some time on a Linux box




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: