`layout` config-option: long
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 16.2k
- Forks
- 510
- PR merge metrics
- No merged PRs in 30d
Description
not a bug, but a feature request...
$ #- os:
$ inxi --system | tail -n1
Desktop: Cinnamon v: 6.0.4 Distro: NixOS 24.05 (Uakari)
$ lsd --version
lsd 1.1.2
$ echo $TERM
xterm-256color
$ echo $LS_COLORS
...
Expected behavior
- the
layoutconfig option has some value say "long" to specify long-listing i.e. equivalent to-lor--longcli flag. - documentation for
blocksitself mentions this 😄
https://github.com/lsd-rs/lsd/blob/9b310da60085eace5b03c0eba6a3cfa6cbf378de/README.md?plain=1#L143-L145
Actual behavior
layout only accepts grid, tree, oneline and errors out 3 times at long value.
$ lsd
lsd: Configuration file /home/.../.config/lsd/config.yaml format error, layout: unknown variant `long`, expected one of `grid`, `tree`, `oneline` at line 4 column 9.
lsd: Configuration file /home/.../.config/lsd/config.yaml format error, layout: unknown variant `long`, expected one of `grid`, `tree`, `oneline` at line 4 column 9.
lsd: Configuration file /home/.../.config/lsd/config.yaml format error, layout: unknown variant `long`, expected one of `grid`, `tree`, `oneline` at line 4 column 9.
<...LISTING-CONTENT...>
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the configuration parsing and layout handling for the accepted grid, tree, and oneline values, then review the README sections linked in the issue. Done means long is accepted as a layout value, produces long-listing behavior equivalent to -l or --long, and the relevant documentation reflects it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100