Earlier quoted context omitted.
From the FAQ: >Is this a drop-in replacement for ls? No — exa has, in my opinion, much saner defaults than ls, so while the available command-line options are similar, they are not exactly the same. Most of the common options will work consistently, though. For example, exa prints human-readable file sizes by default (when would you not want that?) so ls -h no longer applies.
But a length in bytes is even better than human-readable: it's a graph (technically a histogram), so it can be scanned, which is even faster than reading. It's far faster to identify the smallest or largest file in a directory with standard ls. There are some times when I do want human readable, but then I typically want to specify the units, so I see everything in megabytes.
Exa, a modern replacement for ls
101–110 of 420 posts
Re: Exa, a modern replacement for ls
#102> 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.
Re: Exa, a modern replacement for ls
#103Earlier quoted context omitted.
After strip it is 1.1M.
For comparison, ls is 38k on macOS (edit: and coreutils’ ls is 138k).
That being said that the argument of size is a bit silly to begin with, especially for a 3MB binary.
Re: Exa, a modern replacement for ls
#104./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
#105What do all the colors mean? I wish he would make a little page explaining what I'm looking at and what each color means.
Re: Exa, a modern replacement for ls
#106Earlier quoted context omitted.
From the FAQ: >Is this a drop-in replacement for ls? No — exa has, in my opinion, much saner defaults than ls, so while the available command-line options are similar, they are not exactly the same. Most of the common options will work consistently, though. For example, exa prints human-readable file sizes by default (when would you not want that?) so ls -h no longer applies.
> > For example, exa prints human-readable file sizes by default (when would you not want that?) When its being used as part of a script.
Re: Exa, a modern replacement for ls
#107I set up $LS_COLORS like 15 years sgo in my .zshrc… and haven't had to touch it since. Doesn't seem like a huge deal worth replacing it over.
Re: Exa, a modern replacement for ls
#108> 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.
Do not run "git" in untrusted directories. It is not hardened against that (as opposed to the network protocol).
That probably includes libgit2 unless it explicitly states the opposite.
Re: Exa, a modern replacement for ls
#109> exa is written in Rust, so it’s small I suspected this would be total bullshit, and it is. Its small binary is a mere 3.4 megabytes. I wonder if I misinterpreted the "small" part.
It's a lot bigger than conventional ls, but compared to a node.js implementation or Java program the description "small, fast" seems justified.
Re: Exa, a modern replacement for ls
#110exa is hard to type, bad choice of name for something I'd be typing many times a day
Well, it can be typed easily with one hand. At least it has that going for it
It's top row, bottom row, middle row, and the 'x' on a normal keyboard is half way to being directly under the 'e'. Very awkward and antithetical to the ideas of people who have designed keyboard layouts specifically for efficiency and ergonomics.
The only demographic that comes to mind which would find that hand position "natural" would be guitarists and other string players.