Skip to content

Conversation

@atamakahere-git
Copy link
Contributor

Tried fixing #965


TODO

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

@muniu-bot
Copy link

muniu-bot bot commented Dec 27, 2023

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: atamakahere-git

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@muniu-bot muniu-bot bot added the size/S label Dec 27, 2023
@codecov
Copy link

codecov bot commented Dec 29, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.54%. Comparing base (ee2d12b) to head (f4041c4).

❗ Current head f4041c4 differs from pull request most recent head 0bad9f3. Consider uploading reports for the commit 0bad9f3 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #973      +/-   ##
==========================================
+ Coverage   84.34%   84.54%   +0.19%     
==========================================
  Files          53       51       -2     
  Lines        5111     5078      -33     
==========================================
- Hits         4311     4293      -18     
+ Misses        800      785      -15     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@CarterLi
Copy link

In macOS, directores with extensions do have special meanings. For example, /Applications/Google Chrome.app, /System/Library/System.framework

@atamakahere-git
Copy link
Contributor Author

I will do some research/tests and get back on this, If any suggestion let me know.

@muniu-bot muniu-bot bot added size/L and removed size/S labels Jan 2, 2024
@muniu-bot muniu-bot bot added size/M and removed size/L labels Jan 2, 2024
@atamakahere-git
Copy link
Contributor Author

@CarterLi Hey, I did some changes that exclude special named directory.

@atamakahere-git
Copy link
Contributor Author

@zwpaper Hey, are you thinking of adding this enhancement to lsd?

@J3RN
Copy link

J3RN commented May 17, 2025

I also just ran into this bug today, since many emacs projects end with .el, e.g. auto-package-update.el and these projects cloned onto my machine appear in LSD as single files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants