lsd-rs / lsd-rs/lsd

headers missing when --tree is used

Open
#925 3 comments 0 reactions 0 assignees View on GitHub
kind/enhancement
Dominant language
Rust
Stars
16.2k
Forks
510
PR merge metrics
No merged PRs in 30d

Description

- os: MacOS Sonoma 14.0, current as of time of this post
- lsd --version: 1.0.0, installed 10 mins ago via Homebrew
- echo $TERM: xterm-256color
- echo $LS_COLORS: none -- empty return value (see pic, below)

![image](https://github.com/lsd-rs/lsd/assets/5898931/686a55d9-04a5-4ee9-baa5-3ce0aac8774e)

## Expected behavior
Display headers when adding `--tree` option.

## Actual behavior

When option `--tree` is added, then `--header` is ignored.

image

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with the `--tree` and `--header` options on macOS or an equivalent environment, then trace the CLI path that renders tree listings and headers. Done means `--header` displays headers when used together with `--tree`, with a regression test covering the combination.

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.