diff options
| author | ZhiHong Li <joker_lizhih@163.com> | 2022-05-01 16:25:12 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-01 09:25:12 +0100 |
| commit | e05c19d0ff37a900847a6073de0ca05498ebe6d1 (patch) | |
| tree | a10d866f71fc66046e4638c149efce3b08f77088 /docs/zh-CN/stats.md | |
| parent | Add Russian documentation translation (#365) (diff) | |
| download | atuin-e05c19d0ff37a900847a6073de0ca05498ebe6d1.zip | |
Add Chinese documentation translation & Fix spelling mistakes (#373)
* Add Chinese documentation translation
* Fix spelling mistakes
Diffstat (limited to 'docs/zh-CN/stats.md')
| -rw-r--r-- | docs/zh-CN/stats.md | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/docs/zh-CN/stats.md b/docs/zh-CN/stats.md new file mode 100644 index 00000000..2bf557ba --- /dev/null +++ b/docs/zh-CN/stats.md @@ -0,0 +1,35 @@ +# `atuin stats` + +Atuin 还可以根据你的历史记录进行计算统计数据 - 目前这只是一个小的基本功能,但更多功能即将推出 + +``` +$ atuin stats day last friday + ++---------------------+------------+ +| Statistic | Value | ++---------------------+------------+ +| Most used command | git status | ++---------------------+------------+ +| Commands ran | 450 | ++---------------------+------------+ +| Unique commands ran | 213 | ++---------------------+------------+ + +$ atuin stats day 01/01/21 # 也接受绝对日期 +``` + +它还可以计算所有已知历史记录的统计数据。 + +``` +$ atuin stats all + ++---------------------+-------+ +| Statistic | Value | ++---------------------+-------+ +| Most used command | ls | ++---------------------+-------+ +| Commands ran | 8190 | ++---------------------+-------+ +| Unique commands ran | 2996 | ++---------------------+-------+ +``` |
