Live data from Hacker News

Eza: A modern, maintained replacement for ls

github.com

21–30 of 250 posts

Re: Eza: A modern, maintained replacement for ls

#22

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.

Nice tip. What got rid of most of my use of `ls` in fish was running `ls` automatically when you changed directories:

  function ls_on_cd --on-variable PWD
      ls
  end

Re: Eza: A modern, maintained replacement for ls

#23
post #7

I have a problem with all terminal tools that insist on using colors to distinguish between various file types or attributes etc ('ls' is often set up like that too for distros, but I simply delete the config which sets that, the default doesn't). I use a terminal background which is easy on my eyes, and those color schemes always include colors which clash with the background or makes them hard to see in other ways.…

If tooling would simply use the Base16 Framework[0] instead of arbitrary colors from “256 color” or “RGB” color modes, this would be much less of a problem: the output would always be displayed with (presumably) readable colors defined by your terminal.

[0] https://github.com/chriskempson/base16

[1] https://tinted-theming.github.io/base16-gallery/

Re: Eza: A modern, maintained replacement for ls

#24

Neat, it also works on termux, I like the tree output. Is there a parameter to just display the size, name and date format YYMMDD or rickdate for even shorter display, or can I hack it in the rust code? The permission and user column output distract me and take up space. With rust it can also be compiled to wasm and run on ios a-shell (which runs vim and python wasm and other smallish wasm's).

eza -l --time-style=+%Y%m%d --no-user --no-permissions

Re: Eza: A modern, maintained replacement for ls

#28
post #27

Who uses ls anyway? I tab-complete until it lists the files I need. Just kidding. But on a more serious note, why does he claim ls is not maintained anymore?

For some reason it became the norm to think that if some piece of software isn't updated regularly that it's inherently out of date.

Re: Eza: A modern, maintained replacement for ls

#30
post #12

Earlier quoted context omitted.

I cannot find this shortcut in https://fishshell.com/docs/current/interactive.html . Do you know where it's documented by any chance?

It's there, in Shared bindings: "Alt+L lists the contents of the current directory, unless the cursor is over a directory argument, in which case the contents of that directory will be listed."

Ah, it was an L, I thought it was an I (eye). Thanks
Post reply on HN