Repository navigation
Comparing changes
Open a pull request
base repository: gokcehan/lf
base: master
head repository: vivainio/lf
compare: master
- 18 commits
- 6 files changed
- 1 contributor
Commits on Mar 5, 2026
-
fix: hide dot files on Windows when hidden mode is off
Mirrors Linux behavior where files starting with '.' are hidden by default via gDefaultHiddenFiles = []string{".*"}.Configuration menu - View commit details
-
Copy full SHA for d436ea6 - Browse repository at this point
Copy the full SHA d436ea6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 55ce251 - Browse repository at this point
Copy the full SHA 55ce251View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc3c04d - Browse repository at this point
Copy the full SHA dc3c04dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e9fcebb - Browse repository at this point
Copy the full SHA e9fcebbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bbbd79 - Browse repository at this point
Copy the full SHA 6bbbd79View commit details -
Configuration menu - View commit details
-
Copy full SHA for c889e17 - Browse repository at this point
Copy the full SHA c889e17View commit details -
fix: use -c instead of /c as shellflag for non-cmd shells on Windows
When the shell is set to sh, bash, pwsh, or any other non-cmd shell on Windows, the default shellflag /c is invalid. Unix-style shells and PowerShell both require -c (short for -Command in PowerShell, standard flag in POSIX shells). If the user has explicitly set shellflag to something other than /c, that value is respected as-is. Only the cmd.exe default /c is replaced.
Configuration menu - View commit details
-
Copy full SHA for f010c8f - Browse repository at this point
Copy the full SHA f010c8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d783d2 - Browse repository at this point
Copy the full SHA 9d783d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c97346 - Browse repository at this point
Copy the full SHA 5c97346View commit details -
Configuration menu - View commit details
-
Copy full SHA for 924ddc8 - Browse repository at this point
Copy the full SHA 924ddc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for b817dd9 - Browse repository at this point
Copy the full SHA b817dd9View commit details -
fix: run previewer through shell on Windows for non-native scripts
On Windows, shell scripts (e.g. sh/bash scripts with a shebang) cannot be executed directly by the OS. When the previewer has no native Windows extension (.exe, .cmd, .bat), lf now runs it via the configured shell (e.g. `sh preview path w h x y mode`) instead of exec-ing it directly. Native executables are unaffected.
Configuration menu - View commit details
-
Copy full SHA for 3c239b6 - Browse repository at this point
Copy the full SHA 3c239b6View commit details -
fix: convert backslashes in previewer path when running via sh on Win…
…dows sh (Git Bash/MSYS2) cannot resolve Windows-style backslash paths when used as a script filename argument. Convert backslashes to forward slashes before passing the previewer path to sh.
Configuration menu - View commit details
-
Copy full SHA for 472d8fe - Browse repository at this point
Copy the full SHA 472d8feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 08a8961 - Browse repository at this point
Copy the full SHA 08a8961View commit details -
fix: only run previewer via sh on Windows when file has a shebang
Previously any file without a native extension (.exe, .cmd, .bat) was run through sh. Now we peek at the first two bytes to check for a #! shebang, so native binaries without extensions are executed directly.
Configuration menu - View commit details
-
Copy full SHA for 82b023f - Browse repository at this point
Copy the full SHA 82b023fView commit details -
refactor: extract scriptCommand for shebang-aware execution on Windows
Rename previewCommand to scriptCommand and apply it to both the previewer and cleaner calls in nav.go. Both are user-configured scripts that may have a shebang and need the same treatment.
Configuration menu - View commit details
-
Copy full SHA for 3c5e4f4 - Browse repository at this point
Copy the full SHA 3c5e4f4View commit details -
fix: use POSIX shell allowlist for shebang detection on Windows
Replace the broad "not cmd" check with an explicit allowlist of POSIX-compatible shells (sh, bash, zsh, dash). This prevents pwsh and other non-POSIX shells from being used to run shebang scripts.
Configuration menu - View commit details
-
Copy full SHA for e9c2623 - Browse repository at this point
Copy the full SHA e9c2623View commit details -
Configuration menu - View commit details
-
Copy full SHA for d25f6a1 - Browse repository at this point
Copy the full SHA d25f6a1View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff master...master