lsd-rs / lsd-rs/lsd

[Feature Request] Add flag to print size of file adjacent to listing (like ls -s)

Open
#1,211 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

It would be nice to have a -s option to print the size of files left-adjacent to them like 'ls -s'.

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 locating the command-line option parsing and directory-listing output paths in the Rust code, then inspect any existing CLI tests. Add support for the requested -s option, with file sizes printed to the left of entries like ls -s; done means the option works without changing normal listings.

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
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.