Skip to content

fix(windows): use isExecutable for icon and color lookup - #2448

Merged
CatsDeservePets merged 3 commits into
gokcehan:masterfrom
CatsDeservePets:exec
Mar 21, 2026
Merged

CatsDeservePets merged 3 commits into
gokcehan:masterfrom
CatsDeservePets:exec

Conversation

@CatsDeservePets

Copy link
Copy Markdown
Collaborator

This PR improves the way lf handles executable files under Windows.

Previously, isExecutable was only used for completions. It is now also used for icon and colour parsing.
This change also removes a useless log statement, seemingly left over from development, which could cause log files to grow excessively. In addition, executable extensions are now parsed once up front instead of being recalculated on every check.

@CatsDeservePets
CatsDeservePets marked this pull request as ready for review March 21, 2026 03:08
@CatsDeservePets
CatsDeservePets merged commit 551f9d3 into gokcehan:master Mar 21, 2026
32 checks passed
@CatsDeservePets CatsDeservePets added the fix Pull requests that fix existing behavior label Mar 21, 2026
@CatsDeservePets CatsDeservePets added this to the r42 milestone Mar 21, 2026
@CatsDeservePets CatsDeservePets changed the title fix(windows): use isExecutable for icon and color lookup fix(windows): use isExecutable for icon and color lookup Mar 21, 2026
@CatsDeservePets
CatsDeservePets deleted the exec branch March 21, 2026 23:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Pull requests that fix existing behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant