Live data from Hacker News

Eza: A modern, maintained replacement for ls

github.com

191–200 of 250 posts

Re: Eza: A modern, maintained replacement for ls

#191

Typing eza is a pretty horrible three character combination on a qwerty keyboard. One advantage of ls is it’s a lightning fast set of key strokes. I guess you can alias, but that’s kind of weird (compatibility, etc).

This is where an azerty keyboard shines.

Re: Eza: A modern, maintained replacement for ls

#192

Earlier quoted context omitted.

This bookmarklet (I prefer to do it on purpose, not by default) would do this on a GitHub page. It is easy to convert it to a userscript. javascript:(function () { document.querySelectorAll("relative-time").forEach(function (el) { var p = el.parentNode; var t = el.title; var s = document.createElement("span"); s.innerHTML = t; p.removeChild(el); p.appendChild(s); }); })();

Shorter version javascript:(()=> {document.querySelectorAll("relative-time").forEach((el)=> el.format="datetime")})() based on docs at https://github.com/github/relative-time-element you can also do other formats like document.querySelectorAll("relative-time").forEach((el)=> {el.format= "datetime"; el.year ="numeric"; el.weekday=undefined;})

shortened version still using , as that has better line wrapping:

document.querySelectorAll("relative-time").forEach((el)=>el.replaceWith(document.createElement("span").innerHTML = el.title))

Re: Eza: A modern, maintained replacement for ls

#193
post #158

There is also 'lsd' but I still prefer eza. For everyone interested there is a lot of modern command line tools I nowadays prefer over the old stuff: bat - cat with highlight difftastic - better diff gdu - ncdu for ssds (disk space analyser) zoxide - modern cd fd - find alternative rg - ripgrep (grep) fzf - fuzzy finder jless - json viewer with mouse folding dra - download and install release assets lazygit - git TUI…

4 additional tools I use regularly: - task, a Makefile alternative - hyperfine, a benchmark tool - vegeta, a load testing tool - sd, a better, more intuitive sed There’s also the JSON trinity: - jq, the well know JSON processor - jc, convert the output of many CLI tools to JSON - gron, make JSON greppable

Task is _amazing_

I tried magefiles[0] for a while, but Task just works so much better and isn't Go-specific as heavily.

[0] https://github.com/magefile/mage

Re: Eza: A modern, maintained replacement for ls

#195
post #158

Earlier quoted context omitted.

4 additional tools I use regularly: - task, a Makefile alternative - hyperfine, a benchmark tool - vegeta, a load testing tool - sd, a better, more intuitive sed There’s also the JSON trinity: - jq, the well know JSON processor - jc, convert the output of many CLI tools to JSON - gron, make JSON greppable

Task is _amazing_ I tried magefiles[0] for a while, but Task just works so much better and isn't Go-specific as heavily. [0] https://github.com/magefile/mage

One day I decided to design a Makefile alternative, but I wanted to use YAML to benefit from the standard syntax and JSON schemas. I quickly realized I was just reimplementing Taskfile with different key names.

I love Task because it completely fits my mental model, I can use all the Makefile features I like without relying on arcane syntax.

Re: Eza: A modern, maintained replacement for ls

#196

Earlier quoted context omitted.

No the maintained here means it is a maintained (replacment) with reference that it is a fork of exa which was a ls replacment that is not maintained anymore. It does not say that ls is not maintained.

Look at the title above. It only says Eza and ls. It says eza is maintained, which tells me the other,ls, is not maintained. Doesn’t mention exa. Yes it’s missing nuance if you don’t click through, but that’s a complete statement, and I wouldn’t expect people to click through to get more context

Don’t comment based on just the title, please.

Re: Eza: A modern, maintained replacement for ls

#197
post #196

Earlier quoted context omitted.

Look at the title above. It only says Eza and ls. It says eza is maintained, which tells me the other,ls, is not maintained. Doesn’t mention exa. Yes it’s missing nuance if you don’t click through, but that’s a complete statement, and I wouldn’t expect people to click through to get more context

Don’t comment based on just the title, please.

I clicked through the title, but mostly looked at code and example invocations and output.

Re: Eza: A modern, maintained replacement for ls

#199
post #158

Earlier quoted context omitted.

4 additional tools I use regularly: - task, a Makefile alternative - hyperfine, a benchmark tool - vegeta, a load testing tool - sd, a better, more intuitive sed There’s also the JSON trinity: - jq, the well know JSON processor - jc, convert the output of many CLI tools to JSON - gron, make JSON greppable

Task is _amazing_ I tried magefiles[0] for a while, but Task just works so much better and isn't Go-specific as heavily. [0] https://github.com/magefile/mage

Justfile is my favorite. Anything that requires complexity I just use Zig build. I hate make with a passion. I could see why people stick with it after learning it for decades, but for the rest of us it is a nightmare.

Re: Eza: A modern, maintained replacement for ls

#200

There is also 'lsd' but I still prefer eza. For everyone interested there is a lot of modern command line tools I nowadays prefer over the old stuff: bat - cat with highlight difftastic - better diff gdu - ncdu for ssds (disk space analyser) zoxide - modern cd fd - find alternative rg - ripgrep (grep) fzf - fuzzy finder jless - json viewer with mouse folding dra - download and install release assets lazygit - git TUI…

I didn't find zellij to be better than screen. The tabs/screens are not numbered correctly so switching directly to them requires manually counting. A non-starter for me.
Post reply on HN