Skip to content

Allow sorting by name #1138

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AdamGaskins
Copy link

@AdamGaskins AdamGaskins commented May 26, 2025

Closes #1121

In the issue above, @5HT2 has a config that sets a different default sort field, which is what they want most of the time. The rare times that they do want to actually sort by name, there's no way to do this without modifying the config.

This PR adds support for sorting by name.


  • Use cargo fmt
  • Add necessary tests
  • Update default config/theme in README (if applicable)
  • Update man page at lsd/doc/lsd.md (if applicable)

AdamGaskins added a commit to AdamGaskins/lsd that referenced this pull request May 26, 2025
@AdamGaskins AdamGaskins marked this pull request as ready for review May 26, 2025 19:05
@AdamGaskins AdamGaskins requested a review from zwpaper as a code owner May 26, 2025 19:05
@5HT2
Copy link

5HT2 commented May 27, 2025

Thank you so much!! I really appreciate you taking the time to put this together :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

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