mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 09:02:08 +02:00
z: add Chinese translation
This commit is contained in:
parent
f778052a91
commit
ba4d051e32
1 changed files with 28 additions and 0 deletions
28
pages.zh/common/z.md
Normal file
28
pages.zh/common/z.md
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# z
|
||||||
|
|
||||||
|
> 记录被使用次数最多的目录并允许在它们之间以字符串或正则表达式来进行匹配和跳转.
|
||||||
|
> 更多信息: <https://github.com/rupa/z>.
|
||||||
|
|
||||||
|
- 跳转到一个名字带有 "foo" 的文件夹:
|
||||||
|
|
||||||
|
`z {{foo}}`
|
||||||
|
|
||||||
|
- 跳转到一个名字带有 "foo" 并且后面带有 "bar" 的文件夹(例: `fooesbar`):
|
||||||
|
|
||||||
|
`z {{foo}} {{bar}}`
|
||||||
|
|
||||||
|
- 跳转到名字带有 "foo" 并且拥有最高访问次数的文件夹:
|
||||||
|
|
||||||
|
`z -r {{foo}}`
|
||||||
|
|
||||||
|
- 跳转到最近使用的名字带有 "foo" 的文件夹:
|
||||||
|
|
||||||
|
`z -t {{foo}}`
|
||||||
|
|
||||||
|
- 列出在 `z` 的数据库中名字带有 "foo" 的文件夹:
|
||||||
|
|
||||||
|
`z -l {{foo}}`
|
||||||
|
|
||||||
|
- 将当前文件夹从 `z`的数据库中移除:
|
||||||
|
|
||||||
|
`z -x .`
|
Loading…
Add table
Reference in a new issue