mirror of
https://github.com/skywind3000/z.lua
synced 2026-03-15 12:19:49 +00:00
update doc for fzf-completion
This commit is contained in:
@@ -320,7 +320,7 @@ zsh/fish 的补全系统是比较完善的,使用 `z foo<tab>` 就能触发补
|
||||
|
||||
再次按 `<tab>` 键,就可以用可视化的方式对列表进行选择。
|
||||
|
||||
在 bash 下面补全系统没有那么强大,所以 z.lua 引入了 fzf 补全,初始化使用:
|
||||
在 bash 下面补全系统没有那么强大,所以 z.lua 引入了 fzf 补全,初始化时在 `--init` 后追加 `fzf` 关键字:
|
||||
|
||||
```bash
|
||||
eval "$(lua /path/to/z.lua --init bash enhanced once echo fzf)"
|
||||
|
||||
@@ -338,7 +338,7 @@ For zsh/fish, completion can be triggered by `z foo<tab>`. and a list of candida
|
||||
|
||||
Press `<tab>` again, you can select your destination in a visualized way.
|
||||
|
||||
Bash is not as powerful as zsh/fish, so we introduced fzf-completion for bash, initialize your z.lua like this:
|
||||
Bash is not as powerful as zsh/fish, so we introduced fzf-completion for bash, initialize your z.lua and append `fzf` keyword after `--init`:
|
||||
|
||||
```bash
|
||||
eval "$(lua /path/to/z.lua --init bash enhanced once echo fzf)"
|
||||
|
||||
Reference in New Issue
Block a user