A Modern ls With eza
List directories with colors, file-type icons and per-file Git status.
Run eza -la --git --icons for a detailed, colorized listing with Git status.
01Command
Command
$ eza -la --git --icons02What it does
eza is the maintained fork of exa and keeps the familiar ls interface while adding icons, Git columns, tree view -T and a long format -l. Configure a shell alias such as alias ls='eza' to use it everywhere.
03Risk
!Warning: The --icons output needs a Nerd Font in the terminal, otherwise icons show as boxes or placeholders.
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- eza — A modern replacement for lsEvidence: Official eza site documenting flags such as --git and --icons.
- Homebrew formula: ezaEvidence: Installs eza, a maintained modern replacement for ls.
Last verified: 2026-09-20 · Category: Files & Folders
06Related solutions
Find files larger than 500 MB on Mac
List the biggest files in your home folder that are eating disk space.
Batch-rename file extensions on Mac (jpeg → jpg)
Change the extension of every matching file in a folder with one shell loop.
Hide any file or folder on Mac
Make a file or folder invisible in Finder without moving or renaming it.