A rewrite of GNU ls with colours, icons, a tree view and git status.
open sourceApache-2.0self-hostablefree
lsd (LSDeluxe) is a drop-in replacement for ls, written in Rust, that adds colours, file-type icons, a tree view and more formatting options; alias ls to it and carry on. It can show each file's git status (a directory's sums up its contents), total directory sizes, relative or custom dates, permissions as rwx, octal or Windows attributes, and clickable hyperlinks, and it sorts by size, time, version, extension or git status. You choose which columns show and in what order, and change its colours and icons with YAML files. Icons need a Nerd Font or another patched font. It is similar to eza and runs on Linux, macOS, Windows, the BSDs and Termux.
Problems it solves
- ls output is hard to scan without colours and icons
- see which files have uncommitted git changes when I list a directory
- show a directory tree with icons in the terminal
- a modern ls replacement that also works on Windows
- show the total size of each directory in a listing
- customise the colours and icons of my ls output
Features
- colours and file-type icons
- tree view
- git status column
- total directory sizes
- date formats: date, locale, relative or custom
- permissions as rwx, octal or attributes
- hyperlinked file names
- sort by size, time, version, extension or git
- choose and order the displayed columns
- YAML configuration, colour themes and icon overrides
Limitations
- Icons need a Nerd Font or another patched font installed and set in the terminal.1
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what lsd does.
