logoalt Hacker News

Imustaskforhelpyesterday at 1:24 PM3 repliesview on HN

Really interesting, the difference is real though I would just hope that some better coloring support could be added because I have "eza --icons=always -1" command set as my ls and it looks really good, whereas when I use lsr -1, yes the fundamental thing is same, the difference is in the coloring.

Yes lsr also colors the output but it doesn't know as many things as eza does

For example .opus will show up as a music icon and with the right color (green-ish in my case?) in eza whereas it would be shown up as any normal file in lsr.

Really no regrets though, its quite easy to patch I think but yes this is rock solid and really fast I must admit.

Can you please create more such things but for cat and other system utilities too please?

Also love that its using tangled.sh which is using atproto, kinda interesting too.

I also like that its written in zig which imo feels way more easier for me to touch as a novice than rust (sry rustaceans)


Replies

hnlmorgyesterday at 6:30 PM

“bat” is a pretty good modern “cat”

https://github.com/sharkdp/bat

show 1 reply
johnisgoodyesterday at 2:04 PM

As for coloring support, I think the best way would be to implement LS_COLORS / dircolors. My GNU ls looks nice.

iknowstuffyesterday at 2:24 PM

[flagged]