Live data from Hacker News

Eza: A modern, maintained replacement for ls

github.com

141–150 of 250 posts

Re: Eza: A modern, maintained replacement for ls

#141

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

It's saying "modern, maintained", implying that ls is either not maintained (wrong), or ls is not modern (can be argued to be true). Only one of those two properties need to hold for the entire label to fit.

Re: Eza: A modern, maintained replacement for ls

#142
post #139

Earlier quoted context omitted.

You can hover over the date for an exact timestamp. Maybe someone can write a userscript to replace the relative dates to exact ones.

Can’t hover on mobile

You can hover with a pen like the Galaxy S Ultra has. But it doesn't work.

Re: Eza: A modern, maintained replacement for ls

#143
post #65

Earlier quoted context omitted.

I’ve had eza (and formally exa) aliased as ls, ll and lll since around 2015 and never hit a compatibility issue. I also have sl installed to encourage accuracy when running it…

What is 'sl' ?

Steam Locomotive, an annoying little ASCII art film to punish you for typos. Funny exactly once.

Re: Eza: A modern, maintained replacement for ls

#146

My ls usage went down 100% after I switched to fish shell. The built in Alt + l command lists the directory contents. Very helpful! And also results in a cleaner shell history.

In bash/zsh you can easily setup fzf completions ctrl-r (for directory) and ctrl-t (for shell history)

Re: Eza: A modern, maintained replacement for ls

#147

Earlier quoted context omitted.

To this end I made a simple script, `latest`, which is, essentially, `ls -lt $@ | head`. So, `latest *.log`, etc. Other than that, simple autocomplete does a lot of my ls work for me.

I know you're showing a rough example, but others might want to throw a `-d` in there so that folders don't get expanded. And put `$@` in quotations so spaced file names don't get interpreted as separate arguments. i.e.: ls -ltd "$@" | head edit: `-d` may be a bad choice. It also results in directories being listed first on my system, even with `-t` passed. edit 2: That was an alias I had setup. Carry on with the `-d…

    find -type f -printf '%M@ %p\0' | sort -zn | tail -z | sed -z 's/^[0-9.]* //' | ...
Ugh.. so unixy

Re: Eza: A modern, maintained replacement for ls

#148
post #49

Earlier quoted context omitted.

No, they definitely mean "ls": > By deliberately making some decisions differently, eza attempts to be a more featureful, more user-friendly version of ls.

Yes, it is marketed as a better “ls”. I was commenting regarding “maintained” in: > A modern, maintained replacement for ls. “Maintained” is referring to exa I think.

Yes, exactly this. The original `exa`'s description is

> exa is a modern replacement for `ls`

and it seems `eza` very recently changed the README to match that, given the confusion.

At the time, emphasizing it was actively maintained (in comparison to `exa`) made sense, but by now, `eza` has about 5x more daily downloads than `exa`:

- https://crates.io/crates/eza

- https://crates.io/crates/exa

Re: Eza: A modern, maintained replacement for ls

#149
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
  lazydocker - docker TUI
  yazi - file manager with image preview
  zellij - better tmux / screen
  starship - cross shell prompt config
Have fun

Re: Eza: A modern, maintained replacement for ls

#150

I'm under the impression that ls doesn't do very much. I'd expect it to be a small wrapper around libc. This is thousands of lines of rust with emphasis on community building and ongoing development. There seems to be a disconnect between engineering effort and product here which doesn't totally make sense to me. I think I'll stay with ls.

ls is the archetypical example of unix gone wrong, and I think this was already widely discussed (and joked) about in early 90s (iirc unix haters had something about that). It should be just simple wrapper for readdir, but it grew into sprawling mess when it learned to stat the files too, which snowballed ls to have gazillion ways to handle all sorts of metadata
Post reply on HN