Add --walker-path-sep=CHAR to use a different path separator

This is needed when you run a Windows binary on WSL or zsh on Windows
where forward slashes are expected.

  export FZF_DEFAULT_OPTS='--walker-path-sep /'

Close #3859
This commit is contained in:
Junegunn Choi
2024-06-29 17:11:09 +09:00
parent a06745826a
commit bf515a3d32
5 changed files with 44 additions and 6 deletions

View File

@@ -47,6 +47,8 @@ CHANGELOG
--bind 'start:reload:sleep 1; ps -ef' \
--bind 'load:change-header:Loaded!'
```
- Added `--walker-path-sep=CHAR` option to change the default path separator used by the built-in walker
- Needed when running a Windows binary on WSL or zsh on Windows where forward slashes are expected
- Fixed mouse support on Windows
- Fixed crash when using `--tiebreak=end` with very long items
- zsh 5.0 compatibility (thanks to @LangLangBart)