refactor: consolidate and expand ls function family

- Upgrade ls to long listing (-l -a) and drop the standalone l and lS functions in favor of abbreviations
- Remove llm (ambiguous name, redundant with ltr)
- Add lsr (reversed time oneline), lss (size-sorted), lD (dirs-only), lx (extension-sorted)
- Enhance ltr with --all and age color-scale gradient
- Wire up ls abbreviations: l, lS, lsR, lX, lT, lsT
- Update README functions table and add Listing abbreviations section

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-27 13:21:05 -04:00
parent 636c31bf9e
commit bc9cbb22fc
11 changed files with 85 additions and 47 deletions
+17 -5
View File
@@ -180,12 +180,13 @@ rm -f file.txt # Falls through to standard rm -f
| Function | Description |
|---|---|
| `l` | `eza` — long listing, all files, git status and header |
| `ls` | `eza`with icons, color, and hyperlinks |
| `ls` | `eza` — long listing, all files, icons, color, hyperlinks |
| `lss` | `eza`size-sorted long listing with gradient color scale |
| `lsr` | `eza` — reversed time-sorted oneline listing |
| `ltr` | `eza` — long listing, reversed modification time, age color scale |
| `lD` | `eza` — directories only |
| `lx` | `eza` — long listing sorted by extension |
| `lt` | `eza` — tree listing, depth 2 |
| `ltr` | `eza` — long listing, reversed modification time |
| `lS` | `eza` — size-sorted listing |
| `llm` | `eza` — long listing sorted by modification time |
| `lstree` | `eza` — full recursive tree |
### Git
@@ -303,6 +304,17 @@ Abbreviations expand in-place as you type, keeping your history clean.
| `v` | `antigravity` (VSCode-equivalent) |
| `k` | `kate` |
### Listing
| Abbr | Expands To |
|---|---|
| `l` | `ls` |
| `lS` | `lss` (size-sorted) |
| `lsR` | `lsr` (reversed time) |
| `lX` | `lx` (extension-sorted) |
| `lT` | `lt` (tree, depth 2) |
| `lsT` | `lstree` (full tree) |
### Navigation
| Abbr | Expands To |