lsd-rs / lsd-rs/lsd

custom colour theme not working

Open
#1,141 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/config kind/question
Dominant language
Rust
Stars
16.2k
Forks
510
PR merge metrics
No merged PRs in 30d

Description

- os: Mac OS 15.5
- `lsd --version`: lsd 1.1.5
- `echo $TERM`: xterm-ghostty
- `echo $LS_COLORS`:

## Expected behavior
custom colour theme should be applied

## Actual behavior

The default colour theme is applied.

![Image](https://github.com/user-attachments/assets/e60fc1d8-fd1e-4dbc-91ba-d1c90f321d63)

My `config.yaml` file contains:

```yaml
color:
theme: custom
when: always
indicators: true
sorting:
dir-grouping: first
```

`colors.yaml` contains:

```yaml
# Dracula
# ┬ ┌─┐┌┬┐
# │ └─┐ ││
# ┴─┘└─┘─┴┘
# urrick hunt

user: 159 # cyan
group: 231 # foreground
permission:
read: 183 # blue
write: 212 # magenta
exec: 159 # cyan
exec-sticky: 159 # cyan
no-access: 210 # red
date:
hour-old: 146 # comment 20% lighter
day-old: 103 # comment
older: 60 # current line
size:
none: 60 # current line
small: 120 # green
medium: 215 # orange
large: 210 # red
inode:
valid: 231 # foreground
invalid: 210 # red
links:
valid: 159 # cyan
invalid: 210 # red
tree-edge: 183 # blue
```

Trying different colour specifications as no effect.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the report with the provided config.yaml and colors.yaml on Mac OS 15.5 using lsd 1.1.5 and TERM=xterm-ghostty. Verify whether the custom theme is applied instead of the default theme, including when different colour specifications are tried.

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
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.