lla cheat sheet
Basic Usage
| Command | Description | Example |
|---|---|---|
lla |
Default clean listing | lla |
lla -l |
Long format (detailed metadata) | lla -l |
lla -t |
Tree view (directory structure) | lla -t |
lla -T |
Table view | lla -T |
lla -g |
Grid view | lla -g |
lla -G |
Git integration (repo status) | lla -G |
lla --timeline |
Timeline view (chronological organization) | lla --timeline |
lla -S |
Storage analysis (file/directory sizes) | lla -S --include-dirs |
lla --fuzzy |
Fuzzy search (experimental) | lla --fuzzy |
lla -R |
Recursive listing | lla -R -d 3 |
lla -t -d 3 |
Tree view, limited to depth 3 | lla -t -d 3 |
lla -t -d 3
Explanation:
-tenables the tree view, which displays the directory structure in a hierarchical, tree-like format.-d 3limits the depth of the tree view to 3 levels, meaning only the current directory and its subdirectories (up to three levels deep) will be shown.
This is useful for visualizing the structure of a directory without being overwhelmed by all nested contents, especially in large filesystems.
Sorting & Filtering
| Command/Option | Description | Example |
|---|---|---|
-s name/size/date |
Sort by name, size, or date | lla -s size |
-r |
Reverse sort order | lla -s size -r |
--sort-dirs-first |
List directories before files | lla --sort-dirs-first |
-f "pattern" |
Filter files by pattern | lla -f ".rs" |
-c |
Case-sensitive filtering | lla -f "test" -c |
-d N |
Set depth for tree/recursive views | lla -t -d 3 |
Advanced Filtering Examples
| Filter Type | Command Example |
|---|---|
| OR | lla -f "test,spec" |
| AND | lla -f "+test,api" |
| Regex | lla -f "regex:^test.*\.rs$" |
| Glob | lla -f "glob:*.{rs,toml}" |
| NOT | lla -f "NOT test" |
| XOR | lla -f "test XOR spec" |
Display Modifiers
| Command/Option | Description | Example |
|---|---|---|
--icons |
Show icons for files and directories | lla --icons |
--no-icons |
Hide icons | lla --no-icons |
--no-color |
Disable colored output | lla --no-color |
--permission-format |
Set permission display (symbolic, octal, etc.) | lla --permission-format octal |
Plugin & Shortcut Management
| Command | Description | Example |
|---|---|---|
lla install --git URL |
Install plugin from Git repository | lla install --git https://github.com/user/plugin |
lla install --dir PATH |
Install plugin from local dir | lla install --dir ./myplugin |
lla use |
Interactive plugin manager | lla use |
lla --enable-plugin |
Enable a plugin | lla --enable-plugin name |
lla --disable-plugin |
Disable a plugin | lla --disable-plugin name |
lla update |
Update all plugins | lla update |
lla plugin ... |
Run plugin actions | lla plugin --name file_tagger --action add-tag --args README.md "important" |
lla shortcut add ... |
Add a new shortcut | lla shortcut add find file_finder search -d "Quick file search" |
lla shortcut remove ... |
Remove a shortcut | lla shortcut remove find |
lla shortcut list |
List all shortcuts | lla shortcut list |
Configuration & Setup
| Command | Description | Example |
|---|---|---|
lla init |
Initialize configuration file | lla init |
lla config |
View or modify configuration | lla config |
lla theme |
Interactive theme manager | lla theme |
lla theme pull |
Pull built-in themes | lla theme pull |
lla theme install |
Install theme from file/directory | lla theme install /path/to/theme.toml |
lla completion bash |
Generate shell completion script | lla completion bash |
lla clean |
Clean up invalid plugins | lla clean |
General
lla --help (lla -h) —> Show help
lla --version (lla -V) —> Show version