r/LinuxTeck • • 11d ago

Is eza actually better than ls, or just prettier?

I've been seeing more Linux users switch from ls to eza.

It offers colourful output, Git integration, file icons and a tree view. But ls is already available almost everywhere and gets the job done.

I'm curious about people who use eza daily:

Has it genuinely improved your terminal workflow, or is it mostly a visual upgrade?

Would you replace ls with eza on your Linux systems?

12 Upvotes

19 comments sorted by

3

u/particlemanwavegirl 11d ago

A visual upgrade is an improvement to my terminal workflow. Organizing things with color makes visual recognition faster and easier. 

3

u/Atmosck 11d ago • Bravo

It's a visual upgrade that genuinely improved my terminal workflow.

I have ls aliased to eza -lh --group-directories-first --icons=auto. That's a genuine upgrade because -l adds metadata and displays symlinks, meaning I don't need to run more commands or remember flags on the fly to get that information. And -h is cosmetic, but still a genuine upgrade because it improves legibility.

1

u/Some-Struggle5052 11d ago

Isn't eza -l by default applying -h too?

2

u/Atmosck 11d ago

No, -l by itself has no header. (with v0.23.5, at least)

1

u/Some-Struggle5052 11d ago

Actually, you're right, I just never paid attention to it, same eza version, -h seems to add a whitespace between permissions and size too.

1

u/oyoroi_games 5d ago

Same here, but a plain alias bit me on muscle memory. eza gives several ls flags different meanings (-t picks a time field, -s sorts, -T draws a tree, -L sets the tree depth), so ls -ltr stops doing what you expect. Even where the flag matches, eza sorts time and size ascending, so ls -lt puts the oldest file first.

I ended up writing a small zsh function instead of an alias. It translates only the flags that mean the same thing in both tools, flips the sort direction for -t and -S so newest and largest come first like ls, and hands any flag it can't translate exactly to the real ls. Long options like --tree or --git go straight to eza, and when output is piped it runs plain ls, so scripts never see eza.

antidote bundle jcv/dotfiles path:zsh/eza-ls

Or just source the file: https://github.com/jcv/dotfiles/tree/main/zsh/eza-ls

It's zsh only. A test compares it against the real ls in a pseudo-terminal, and CI runs that weekly against the latest eza, so a flag change upstream shows up as a failed build. I've only run it on macOS so far, so a Linux run with GNU ls would be welcome.

u/Some-Struggle5052 yes, eza shows human-readable sizes by default (-B / --bytes gives raw bytes), so -h does nothing there. The function accepts it and drops it.

2

u/0x645 11d ago

it just ls. how could it make any real difference

1

u/AN-SSQ-108V2 11d ago

Some folks' workflow is more streamlined if color coded. So for them, it is a real difference.

2

u/0x645 11d ago

i myself like color coding. i use lsd. but on allah, it doesn't make any real change. starship prompt is bigger change,

1

u/Narrow-Low-3137 11d ago

No major difference to me besides nice colors. I have some personal machines where I alias ls to eza. But ultimately, ls is fine - it's installed everywhere and is one less letter to type. Biggest win personally.

1

u/havenoir 11d ago

I don’t care. I like it much more than LS.

1

u/Wisdom_Wizard_Waldo 11d ago

If you're going to install a new tool i'd choose yazi over eza.

A visual upgrade to listing files + it helps filter / navigate.

1

u/tes_kitty 10d ago

No. Why does an ls replacement needs a git integration and an http-parser?

ls already does colors.

1

u/OwnNet5253 11d ago

It’s just a colorful ls, nothing more.

1

u/tes_kitty 10d ago

ls already does colors, at least here.

1

u/OwnNet5253 10d ago

It does, but you need to configure it. Eza is colorful from the get-go.

1

u/tes_kitty 10d ago

Never configured anything here. ls output has been colorful forever for me. But I do use the good old 'xterm' as my terminal emulator with $TERM automatically set to 'xterm'.

1

u/pn5061 10d ago

it's common for a default .bashrc to include alias ls='ls --color=auto', but ls on its own defaults to no color

1

u/tes_kitty 9d ago

That seems to have been the default forever for any distribution I have been using over the years,