lsd-rs / lsd-rs/lsd

Cannot configure last Modified colors and file size

Open
#336 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

## Expected behavior
Last modified colors and filesize should be configurable instead of only being hardcoded in green.
It should done probably through LS_COLOR or another env variable if it doesnt exist in LS_COLOR

## Actual behavior
All the LS_COLOR work except for the last modified colors and file size

- within the last hour
- within the last day
- older

- Small File
- Medium File
- Large File

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 tracing the existing LS_COLOR handling and the code that assigns colors to last-modified times and file sizes. Determine how the six listed categories are currently hardcoded and how configuration should cover them. Done means colors for each listed time and size category can be configured consistently with the existing color behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.