l
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
$ 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 informationSee command for more info.
Configuration
l -c # open or init configl --config-init # init or reset configSee configuration for more info.
Installation
Homebrew
brew install imdevan/l/lAUR
yay -S lSee install for more info.
Requirements
- Nerd Font — for icons (optional, disable with
show_icons = false)
Development
See contributing for more info.