aboutsummaryrefslogtreecommitdiffstats
path: root/docs/zh-CN/search.md
diff options
context:
space:
mode:
authorMichelle Tilley <michelle@michelletilley.net>2025-12-12 14:47:24 -0800
committerGitHub <noreply@github.com>2025-12-12 14:47:24 -0800
commit2ba93a8c18ca008efb0b03e3cfa826e081a00514 (patch)
treeb408f74c07d6270cb1618fcff932e94eebdef28d /docs/zh-CN/search.md
parentfix: prevent interactive search crash when update check fails (#3016) (diff)
downloadatuin-2ba93a8c18ca008efb0b03e3cfa826e081a00514.zip
docs: Migrate docs from separate repo to `docs` subfolder (#3018)
Diffstat (limited to 'docs/zh-CN/search.md')
-rw-r--r--docs/zh-CN/search.md37
1 files changed, 0 insertions, 37 deletions
diff --git a/docs/zh-CN/search.md b/docs/zh-CN/search.md
deleted file mode 100644
index 24e320d5..00000000
--- a/docs/zh-CN/search.md
+++ /dev/null
@@ -1,37 +0,0 @@
-# `atuin search`
-
-```
-atuin search <query>
-```
-
-Atuin 搜索还支持带有 `*` 或 `%` 字符的通配符。 默认情况下,会执行前缀搜索(即,所有查询都会自动附加通配符)。
-
-| 参数 | 描述 |
-| ------------------ | ----------------------------------------------------- |
-| `--cwd/-c` | 列出历史记录的目录(默认:所有目录) |
-| `--exclude-cwd` | 不包括在此目录中运行的命令(默认值:none) |
-| `--exit/-e` | 按退出代码过滤(默认:none) |
-| `--exclude-exit` | 不包括以该值退出的命令(默认值:none) |
-| `--before` | 仅包括在此时间之前运行的命令(默认值:none) |
-| `--after` | 仅包含在此时间之后运行的命令(默认值:none) |
-| `--interactive/-i` | 打开交互式搜索 UI(默认值:false) |
-| `--human` | 对时间戳和持续时间使用人类可读的格式(默认值:false) |
-
-## 举例
-
-```
-# 打开交互式搜索 TUI
-atuin search -i
-
-# 打开预装了查询的交互式搜索 TUI
-atuin search -i atuin
-
-# 搜索所有以 cargo 开头且成功退出的命令。
-atuin search --exit 0 cargo
-
-# 从当前目录中搜索所有在2021年4月1日之前运行且失败的命令。
-atuin search --exclude-exit 0 --before 01/04/2021 --cwd .
-
-# 搜索所有以 cargo 开头,成功退出且是在昨天下午3点之后运行的命令。
-atuin search --exit 0 --after "yesterday 3pm" cargo
-```