1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00

atuin: add Chinese translation (#14596)

This commit is contained in:
Cryo 2024-11-04 12:02:57 +08:00 committed by GitHub
parent 3b77cef123
commit 83c3bf6c61
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

29
pages.zh/common/atuin.md Normal file
View file

@ -0,0 +1,29 @@
# atuin
> 存储您的 shell 历史记录到可搜索的数据库。
> 可选择在机器之间同步加密历史记录。
> 更多信息:<https://atuin.sh/docs/commands>.
- 安装 atuin 到您的 shell:
`eval "$(atuin init {{bash|zsh|fish}})"`
- 从 shell 默认历史记录文件导入:
`atuin import auto`
- 搜索 shell 历史记录中指定的命令:
`atuin search {{命令}}`
- 使用指定的用户名,邮箱和密码在默认同步服务器注册账号:
`atuin register -u {{用户名}} -e {{邮箱}} -p {{密码}}`
- 登录默认同步服务器:
`atuin login -u {{用户名}} -p {{密码}}`
- 与同步服务器同步历史记录:
`atuin sync`