mirror of
https://github.com/skywind3000/z.lua
synced 2026-03-14 11:49:48 +00:00
commit new files
This commit is contained in:
@@ -321,8 +321,6 @@ eval "$(lua /path/to/z.lua --init bash enhanced once echo fzf)"
|
||||
|
||||
有了 fzf 的帮助,bash 下补全也非常方便了。注意看左边的权重,fzf 搜索过滤的顺序是有讲究的,Frecent 权重越高的越靠前,不是乱排序的,更不是简单的按字符串字母排序。这里完全保证权重越高的路径越靠前。
|
||||
|
||||
`z.lua` 可以同 [fz](https://github.com/changyuheng/fz) 协作以提供**更好的补全结果**,详细见 [FAQ](https://github.com/skywind3000/z.lua/wiki/FAQ#fzsh-for-better-completion)。
|
||||
|
||||
注意:该功能在初始化 z.lua 之前,会检测 $PATH 中是否有 fzf 这个程序,有的话才启用。
|
||||
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@ For example, `z foo bar` would match `/foo/bar` but not `/bar/foo`.
|
||||
- Interactive selection enables you to choose where to go before cd.
|
||||
- Intergrated with FZF (optional) for interactive selection and completion.
|
||||
- Quickly go back to a parent directory instead of typing "cd ../../..".
|
||||
- Cooperate with [fz](https://github.com/changyuheng/fz) to provide better completion, see [FAQ](https://github.com/skywind3000/z.lua/wiki/FAQ#fzsh-for-better-completion).
|
||||
- Corresponding experience in different shells and operating systems.
|
||||
- Compatible with Lua 5.1, 5.2 and 5.3+
|
||||
- Self contained, distributed as a single `z.lua` script, no other dependence.
|
||||
@@ -342,8 +341,6 @@ Then press `<tab>` after `z xxx`:
|
||||
|
||||
With the help of fzf, completion in bash is much easier now.
|
||||
|
||||
`z.lua` can cooperate with [fz](https://github.com/changyuheng/fz) for **better completion** result in both bash and zsh, for more information see [FAQ](https://github.com/skywind3000/z.lua/wiki/FAQ#fzsh-for-better-completion).
|
||||
|
||||
NOTE: To enable this, command `fzf` must be found in `$PATH` before initialization.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user