junegunn / fzf

:cherry_blossom: A command-line fuzzy finder
https://junegunn.github.io/fzf/
MIT License
65.89k stars 2.41k forks source link

Update fastwalk to v1.0.9 to fix handling of disk root paths on Windows #4063

Closed charlievieth closed 1 month ago

charlievieth commented 1 month ago

Update fastwalk to v1.0.9.

This fixes an issue on Windows when the argument to --walker-root was the root of a disk drive (e.g. C:\). Instead of walking the disk root C:\ it walked the current directory. This occurred because we were transforming the fully qualified path C:\ to the relative path C: which caused the current directory to be walked (docs).

Fixes: https://github.com/junegunn/fzf/issues/4027

charlievieth commented 1 month ago

Example output:

Screenshot 2024-10-25 at 10 49 45 AM
junegunn commented 1 month ago

Thank you very much for the fix!