lsr

Colorized ls alternative with Git integration and Lua extensibility

TLDR

List files in the current directory
$ lsr
List files recursively as a tree
$ lsr -R
List files with Git status
$ lsr -g
List all files including hidden ones
$ lsr -a
List files in a specific directory
$ lsr [/path/to/directory]

SYNOPSIS

lsr [options] [path...]

DESCRIPTION

lsr (also known as Laser) is a command-line alternative to ls that prioritizes readability and usability. It provides colorized file listings with improved visual organization, recursive tree display, Git status indicators, and file/symlink identification through visual flags.Color schemes are customizable, and the tool is extensible through Lua scripts for displaying custom information beyond what standard ls offers.

PARAMETERS

-R, --recursive

Display files in a recursive tree structure.
-g, --git
Show Git status indicators for staged and unstaged changes.
-a, --all
Show hidden files.

INSTALL

brew install lsr
nix profile install nixpkgs#lsr

CAVEATS

Lua scripting extension requires Lua to be available on the system.

HISTORY

lsr was created by jmattaa and is written in C. It supports macOS, Linux, BSD, and Windows.

SEE ALSO

ls(1), eza(1), tree(1), lsd(1), exa(1)