lsd-rs / lsd-rs/lsd

theme: size none color is not respected

Open
#755 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
16.2k
Forks
510
PR merge metrics
No merged PRs in 30d

Description

- os:
- `lsd --version`: lsd 0.23.1
- `echo $TERM`: xterm-256color
- `echo $LS_COLORS`: fi=00:mi=00:mh=00:ln=01;36:or=01;31:di=01;34:ow=04;01;34:st=34:tw=04;34:pi=01;33:so=01;33:do=01;33:bd=01;33:cd=01;33:su=01;35:sg=01;35:ca=01;35:ex=01;32:no=38;5;248

## Expected behavior
I expect that size none color is for zero size objects.

## Actual behavior
I added a theme, changed color for small size — worked. Changed color for none — don't see that color, color for zero size files is the same as for small ones.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the behavior with lsd 0.23.1 using a theme that assigns different colors to small and none sizes. Trace the size-color handling and verify that zero-size files use the none color rather than the small-size color.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.