icons.yaml not letting configure any new extensions except for default
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 16.2k
- Forks
- 510
- PR merge metrics
- No merged PRs in 30d
Description
- os: MacOs
- `lsd --version`: 1.1.2
- `echo $TERM`: xterm-256color
- `echo $LS_COLORS`: di=1;36:ln=35:so=32:pi=33:ex=31:bd=34;46:cd=34;43:su=30;41:sg=30;46:tw=30;42:ow=30;43
I copied the default `.config/lsd/icons.yaml` file and started modifying the icons, which works as expected.
If I add `rb: ` or anything else under `extensions:` (same for `name:` and `filetype:`), none of the changed icons show up anymore, and it all goes back to default.
Are we supposed not to add any other extensions to this config file?
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 with the copied .config/lsd/icons.yaml and compare behavior with only the default entries versus added values under extensions, name, and filetype. Reproduce the report using lsd 1.1.2 on macOS, then trace the configuration handling until added entries no longer cause the customized icons to revert to defaults.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100