lsd ls with colors and icons
Light · Postcard
102 × 152 mm · PDF
Dark · Postcard
102 × 152 mm · PDF
Ink saver · Postcard
102 × 152 mm · PDF
Light · A4 landscape
297 × 210 mm · PDF
Dark · A4 landscape
297 × 210 mm · PDF
Ink saver · A4 landscape
297 × 210 mm · PDF
Light · A3 landscape
420 × 297 mm · PDF
Dark · A3 landscape
420 × 297 mm · PDF
Ink saver · A3 landscape
420 × 297 mm · PDF
Start here
lsdlsd -llsd -lalsd --treelsd --tree --depth 2
lsd -ltlsd -lSlsd --git -lConcepts
- Config file config.yaml
- Flags --tree, -l, --sort
- Listing colors + icons
Listing
lsd [<path>]
lsd -alsd -Alsd -llsd -1lsd -d <path>
lsd -Llsd --no-symlink
lsd -Flsd -I <glob>
lsd -NTree and recursion
lsd --treelsd --tree --depth <n>
lsd --tree -a -I .git
lsd --tree -llsd -Rlsd -R --depth <n>
lsd --tree --total-size
Sorting
lsd -tlsd -Slsd -Xlsd -vlsd -rlsd -Ulsd --sort <key>
lsd --group-dirs first
lsd --group-dirs last
Long format columns
lsd -l --blocks <list>
lsd -l --headerlsd -l --size short
lsd -l --size bytes
lsd -l --date relative
lsd -l --date '+<format>'
lsd -l --permission octal
lsd -l -ilsd -l -Zlsd --total-size -l
lsd --git -lColors and icons
lsd --color never
lsd --color always
lsd --icon never
lsd --icon-theme unicode
lsd --hyperlink auto
lsd --classicConfiguration
lsd --config-file <path>
lsd --ignore-config
~/.config/lsd/config.yaml
| Key | Example | Effect |
|---|---|---|
layout |
tree | grid, tree or oneline |
blocks |
[permission, size, name] | Long columns |
sorting.dir-grouping |
first | Directories first |
date |
relative | Date style |
icons.theme |
unicode | Icon set |
ignore-globs |
[.git] | Always hidden |
Help
lsd --helplsd --versionRecipes
alias ls='lsd'alias l='ls -l'alias la='ls -a'alias lla='ls -la'alias lt='ls --tree'
lsd --tree --depth 2 -I .git -I node_modules
lsd -ltr --date relative --group-dirs none
# ~/.config/lsd/config.yamldate: relativesorting: dir-grouping: firsticons: theme: unicode



