Live data from Hacker News

Exa, a modern replacement for ls

the.exa.website

61–70 of 420 posts

Re: Exa, a modern replacement for ls

#62
> For example, exa prints human-readable file sizes by default (when would you not want that?)

When I've got two similar but non-identical files, and I think that the difference between their sizes might be important.

That's a silly nitpick, though. It's not like I lose ls by installing exa. Plus, it's a nice excuse to see if I can get cargo working around the corporate firewall.

Re: Exa, a modern replacement for ls

#64
post #60

> Git support: View the staged and unstaged status of every file, right there in the standard view. Also works in tree view. This is nearly impossible to implement securely. Better don't run exa against untrusted directories.

It uses libgit2 for this; I don't know what specific attack vector you're thinking about though.

Re: Exa, a modern replacement for ls

#65

Earlier quoted context omitted.

I almost never use the human-readable file sizes. For this to get any traction it is going to need to accept every argument ls does and play nicely. Most people who work with nix systems work on many systems and some of them don't control the software loaded on them. If I have to remember that on this* system I have to use these arguments because I have exa, vs this system I have normal ls that is going to be a deal…

> Most people who work with nix systems work on many systems [citation needed] Lots of people using macOS and even Linux without being server administrators.

While there has been a influx in command line usage due to mac adoption (has actually been flat for a few years now) most people who find their way to a terminal at some point or another will find their way to ssh.

Also just because you have access to many systems it does not make you a server administrator. I have access to tens of thousands and I am not a system administrator.

Over the years of working with Linux the one thing I have learned that saved me many times and made me productive was to learn the defaults and use the tools that you will most likely find on all systems. If you don't you will find your self bumbling around and feeling lost if you ever log into a system that is missing your favorite modification / customization.

Re: Exa, a modern replacement for ls

#66
./exa-linux-x86_64: error while loading shared libraries: libhttp_parser.so.2.1: cannot open shared object file: No such file or directory

Couldnt all the dependencies be statically linked for max portability?

Re: Exa, a modern replacement for ls

#67
post #19

exa is hard to type, bad choice of name for something I'd be typing many times a day

+1. ls (or ll) is a more tangible name. a frequently used command is best to reside on the middle row of the keyboard.

Also I've noticed terminal emulators (like terminator) recognize output and sprinkle in formatting on the display.

Re: Exa, a modern replacement for ls

#68

> For example, exa prints human-readable file sizes by default (when would you not want that?) When I've got two similar but non-identical files, and I think that the difference between their sizes might be important. That's a silly nitpick, though. It's not like I lose ls by installing exa. Plus, it's a nice excuse to see if I can get cargo working around the corporate firewall.

I agree. Relativity is important - uniform units.

Re: Exa, a modern replacement for ls

#70
post #8

Does it take into account the background color of my xterm so things do not become unreadable?

Doesn't look like it, but the github page [1] has screenshots on both light and dark backgrounds, and the colors appear to have been selected to work well on both light and dark backgrounds (like the Solarized color theme).

From the doc, it doesn't appear that colors are customizable, yet. Pull request? :)

[1] https://github.com/ogham/exa

Post reply on HN