1
0
mirror of https://github.com/skywind3000/z.lua synced 2026-03-18 05:39:49 +00:00

update doc

This commit is contained in:
skywind3000
2019-02-01 02:19:27 +08:00
parent decfbb7bec
commit 97cb32da9c
2 changed files with 28 additions and 1 deletions

View File

@@ -298,9 +298,19 @@ sys 0m0.030s
## Import database
导入 z.sh 的数据很简单:
导入 z.sh 的数据文件很简单,格式是一样的
```bash
cat ~/.z >> ~/.zlua
```
导入 autojump 数据文件需要稍微转换下:
```bash
FN="$HOME/.local/share/autojump/autojump.txt"
awk -F '\t' '{print $2 "|" $1 "|" 0}' $FN >> ~/.zlua
```
## Credit

View File

@@ -274,6 +274,23 @@ sys 0m0.030s
As you see, z.lua is the fastest one and requires less resource.
## Import database
You can import your datafile from z.sh by
```bash
cat ~/.z >> ~/.zlua
```
Import datafile from autojump by
```bash
FN="$HOME/.local/share/autojump/autojump.txt"
awk -F '\t' '{print $2 "|" $1 "|" 0}' $FN >> ~/.zlua
```
## Credit
Releated projects: