forked from tldr-pages/tldr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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` |