lsd-rs / lsd-rs/lsd

Feature Request: `--oneline` mode for `--tree`

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

Description

When I do

`❯ command lsd --tree --almost-all --icon never`, I get

```
.
├── bar
│ └── baz
└── foo
```

The same exact output when I add the `-1` option.

It would be great if `--tree -1` would give

```
bar
bar/baz
foo
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how the Rust CLI handles the --tree and -1 options, including the code that formats tree paths. Confirm the existing output with the command from the issue, then make --tree -1 produce one path per line as shown for bar, bar/baz, and foo.

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
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.