Skip to content

Commit 4d4dc88

Browse files
author
skywind3000
committed
update doc
1 parent 761b3eb commit 4d4dc88

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

README.cn.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,8 @@ eval "$(lua /path/to/z.lua --init bash enhanced once echo fzf)"
321321

322322
有了 fzf 的帮助,bash 下补全也非常方便了。注意看左边的权重,fzf 搜索过滤的顺序是有讲究的,Frecent 权重越高的越靠前,不是乱排序的,更不是简单的按字符串字母排序。这里完全保证权重越高的路径越靠前。
323323

324+
`z.lua` 可以同 [fz](https://github.com/changyuheng/fz) 协作以提供**更好的补全结果**,详细见 [FAQ](https://github.com/skywind3000/z.lua/wiki/FAQ#fzsh-for-better-completion)
325+
324326
注意:该功能在初始化 z.lua 之前,会检测 $PATH 中是否有 fzf 这个程序,有的话才启用。
325327

326328

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,8 @@ Then press `<tab>` after `z xxx`:
341341

342342
With the help of fzf, completion in bash is much easier now.
343343

344+
`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).
345+
344346
NOTE: To enable this, command `fzf` must be found in `$PATH` before initialization.
345347

346348

@@ -454,6 +456,7 @@ As you see, z.lua is the fastest one and requires less resource.
454456

455457
## History
456458

459+
- 1.5.4 (2019-02-19): fixed: file/path existence detection fails on read-only fs (closed [#49](https://github.com/skywind3000/z.lua/issues/49) by [@contrun](https://github.com/contrun)).
457460
- 1.5.3 (2019-02-17): new `$_ZL_FZF_FLAG` for passing additional flags to fzf, add `-e` argument to fzf.
458461
- 1.5.2 (2019-02-16): be aware of all arguments in fzf completion.
459462
- 1.5.1 (2019-02-15): new: simulated dir stack by `z -`, `z --` and `z -{num}`.

0 commit comments

Comments
 (0)