- Replaced "the default find command" with a built-in directory walker to simplify the code and to achieve better performance and consistent behavior across platforms. This doesn't affect you if you have
$FZF_DEFAULT_COMMAND
set.- Breaking changes:
- Unlike the previous "find" command, the new traversal code will list hidden files, but hidden directories will still be ignored
- No filtering of
devtmpfs
orproc
types - Traversal is parallelized, so the order of the entries will be different each time
- You may wonder why fzf implements directory walker anyway when it's a filter program following the Unix philosophy. But fzf has had the walker code for years to tackle the performance problem on Windows. And I decided to use the same approach on different platforms as well for the benefits listed above.
- Built-in walker is using the excellent charlievieth/fastwalk library, which easily outperforms its competitors and supports safely following symlinks.
- Breaking changes:
- Added
$FZF_DEFAULT_OPTS_FILE
to allow managing default options in a file- See #3618
- Option precedence from lower to higher
- Options read from
$FZF_DEFAULT_OPTS_FILE
- Options from
$FZF_DEFAULT_OPTS
- Options from command-line arguments
- Options read from
- Bug fixes and improvements