lsd-rs / lsd-rs/lsd

[Bug]: `--sort name` is not a valid option

Open
#1,121 5 comments 0 reactions 1 assignee View on GitHub

@zwpaper is already working on this.

Since Mar 5, 2025.

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

Description

### Version

- [x] latest

### version

`lsd 1.1.5`

### What OS are you seeing the problem on?

`macOS 14.6.1`

### installation

`brew install lsd`

### term

`xterm-256color`

### ls-colors

_No response_

### What happened?

```markdown
Ran `lsd --sort name`, no bueno.
```

### What expected?

```markdown
I expected the option to work as normal.
```

### What else?

Currently, if you specify a default sort in the config, there is no way to revert it back to a name sort on the command-line as the option is not accepted.

Image

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.