You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shell integration scripts are now embedded in the fzf binary. This simplifies the distribution, and the users are less likely to have problems caused by using incompatible scripts and binaries.
bash
# Set up fzf key bindings and fuzzy completioneval"$(fzf --bash)"
zsh
# Set up fzf key bindings and fuzzy completioneval"$(fzf --zsh)"
fish
# Set up fzf key bindings
fzf --fish| source
Added options for customizing the behavior of the built-in walker
Option
Description
Default
--walker=OPTS
Walker options ([file][,dir][,follow][,hidden])
file,follow,hidden
--walker-root=DIR
Root directory from which to start walker
.
--walker-skip=DIRS
Comma-separated list of directory names to skip
.git,node_modules
Examples
# Built-in walker is only used by standalone fzf when $FZF_DEFAULT_COMMAND is not setunset FZF_DEFAULT_COMMAND
fzf # default: --walker=file,follow,hidden --walker-root=. --walker-skip=.git,node_modules
fzf --walker=file,dir,hidden,follow --walker-skip=.git,node_modules,target
# Walker options in $FZF_DEFAULT_OPTSexport FZF_DEFAULT_OPTS="--walker=file,dir,hidden,follow --walker-skip=.git,node_modules,target"
fzf
# Reading from STDIN; --walker is ignored
seq 100 | fzf --walker=dir
# Reading from $FZF_DEFAULT_COMMAND; --walker is ignoredexport FZF_DEFAULT_COMMAND='seq 100'
fzf --walker=dir
Shell integration scripts have been updated to use the built-in walker with these new options and they are now much faster out of the box.