0.48.0
版本发布时间: 2024-03-13 23:14:40
junegunn/fzf最新发布版本:v0.55.0(2024-08-29 16:13:56)
- 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 completion eval "$(fzf --bash)"
- zsh
# Set up fzf key bindings and fuzzy completion eval "$(fzf --zsh)"
- fish
# Set up fzf key bindings fzf --fish | source
- bash
- 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 set unset 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_OPTS export 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 ignored export FZF_DEFAULT_COMMAND='seq 100' fzf --walker=dir
- Examples
- 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.
1、 fzf-0.48.0-darwin_amd64.zip 1.48MB
2、 fzf-0.48.0-darwin_arm64.zip 1.41MB
3、 fzf-0.48.0-freebsd_amd64.tar.gz 1.41MB
4、 fzf-0.48.0-linux_amd64.tar.gz 1.42MB
5、 fzf-0.48.0-linux_arm64.tar.gz 1.32MB
6、 fzf-0.48.0-linux_armv5.tar.gz 1.38MB
7、 fzf-0.48.0-linux_armv6.tar.gz 1.38MB
8、 fzf-0.48.0-linux_armv7.tar.gz 1.37MB
9、 fzf-0.48.0-linux_loong64.tar.gz 1.38MB
10、 fzf-0.48.0-linux_ppc64le.tar.gz 1.31MB
11、 fzf-0.48.0-linux_s390x.tar.gz 1.39MB
12、 fzf-0.48.0-openbsd_amd64.tar.gz 1.42MB
13、 fzf-0.48.0-windows_amd64.zip 1.64MB
14、 fzf-0.48.0-windows_arm64.zip 1.53MB
15、 fzf-0.48.0-windows_armv5.zip 1.62MB
16、 fzf-0.48.0-windows_armv6.zip 1.6MB
17、 fzf-0.48.0-windows_armv7.zip 1.59MB
18、 fzf_0.48.0_checksums.txt 1.59KB