Skip to content

l

l main

l is a fast, styled ls replacement with Nerd Font icons, color-coded output, and full TOML configuration.

Inspired by Nushell ls function. Re-implemented in Go, using cobra + lipgloss.

Features

  • Styled table output with color-coded names, sizes, and modified dates
  • Nerd Font icons per file type (via go-devicons)
  • Sort by name, type, size, or modified date
  • Filter by substring, show/hide hidden files, show only files or dirs
  • Fully configurable via TOML — all colors, display options, and default flags

Usage

Terminal window
$ l -h
Usage:
l [filter] [flags]
Flags:
-a, --all show hidden files (dotfiles)
-c, --config open config in editor
-C, --config-init generate default config file
-d, --dirs only show directories
-f, --files only show files
-h, --help help for l
--local-config string config file path
-r, --reverse reverse sort order
-m, --sort-modified sort by modified (newest first)
-n, --sort-name sort by name (wins over other sort flags)
-s, --sort-size sort by size (largest first)
-t, --sort-type sort by type (dirs first)
-v, --version print version information

See command for more info.

Configuration

Terminal window
l -c # open or init config
Terminal window
l --config-init # init or reset config

See configuration for more info.

Installation

Homebrew

Terminal window
brew install imdevan/l/l

AUR

Terminal window
yay -S l

See install for more info.

Requirements

  • Nerd Font — for icons (optional, disable with show_icons = false)

Development

See contributing for more info.

Additional Examples

My current fav

l fav

Mostly borderless with header

l borderless

Borderless with permissions

l minimal perms

Minimal

l minimal