From d523c345f187868cba47e5d60491241b62b0938d Mon Sep 17 00:00:00 2001 From: skywind3000 Date: Mon, 11 Feb 2019 14:27:47 +0800 Subject: [PATCH] update doc --- README.cn.md | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.cn.md b/README.cn.md index 993ccf5..4d2e172 100644 --- a/README.cn.md +++ b/README.cn.md @@ -350,7 +350,7 @@ eval "$(lua /path/to/z.lua --init bash enhanced once echo fzf)" ```bash -alias zh=`z -t -I .` +alias zh='z -t -I .' ``` 首先定义个新的别名 `zh`(回到历史路径的意思),我们使用了 `-t` 参数来告诉 `z.lua` 按照时间戳作为权重进行排序,同时 `-I` 启用 fzf 进行搜索,最后的句号代表任意路径。 diff --git a/README.md b/README.md index 726eff9..f83dd55 100644 --- a/README.md +++ b/README.md @@ -365,7 +365,7 @@ NOTE: To enable this, command `fzf` must be found in `$PATH` before initializati We always use `cd -` to go back to last accessed directory, but with the help of `fzf` we can achieve this productively: ```bash -alias zh=`z -t -I .` +alias zh='z -t -I .' ``` The new alias `zh` (jump to history) uses a parameter `-t` to sort the result by time and `-I` to use `fzf` for selection. the result is: