mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 08:53:39 +02:00
fzf: add Chinese translation (#14912)
This commit is contained in:
parent
91e295b3ea
commit
864b1b260f
1 changed files with 29 additions and 0 deletions
29
pages.zh/common/fzf.md
Normal file
29
pages.zh/common/fzf.md
Normal file
|
@ -0,0 +1,29 @@
|
|||
# fzf
|
||||
|
||||
> 命令行模糊查找器。
|
||||
> 类似于 `sk`.
|
||||
> 更多信息:<https://github.com/junegunn/fzf>.
|
||||
|
||||
- 对指定目录中的所有文件启动 `fzf`:
|
||||
|
||||
`find {{路径/到/目录}} -type f | fzf`
|
||||
|
||||
- 为正在运行的进程启动 `fzf`:
|
||||
|
||||
`ps aux | fzf`
|
||||
|
||||
- 使用 `Shift + Tab` 选择多个文件并将结果写入文件:
|
||||
|
||||
`find {{路径/到/目录}} -type f | fzf --multi > {{路径/到/文件}}`
|
||||
|
||||
- 使用指定查询词启动 `fzf`:
|
||||
|
||||
`fzf --query "{{查询词}}"`
|
||||
|
||||
- 对以 core 开头、以 go, rb 或 py 结尾的条目启动 `fzf`:
|
||||
|
||||
`fzf --query "^core go$ | rb$ | py$"`
|
||||
|
||||
- 对不匹配 pyc 且完全匹配 travis 的条目启动 `fzf`:
|
||||
|
||||
`fzf --query "!pyc 'travis"`
|
Loading…
Add table
Reference in a new issue