LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

lsr

Colorized ls alternative with Git integration and Lua extensibility

TLDR

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

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
copy
nix profile install nixpkgs#lsr
copy

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)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid