Files
cheatsheet-tldr/tldr/atuin

35 lines
801 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# atuin
> Store your shell history in a searchable database.
> Optionally sync your encrypted history between machines.
> More information: <https://atuin.sh/docs/commands>.
- Install atuin into your shell:
`eval "$(atuin init {{bash|zsh|fish}})"`
- Import history from the shell default history file:
`atuin import auto`
- Search shell history for a specific command:
`atuin search {{command}}`
- Register an account on the default sync server using the specified [u]sername, [e]mail and [p]assword:
`atuin register -u {{username}} -e {{email}} -p {{password}}`
- Login to the default sync server:
`atuin login -u {{username}} -p {{password}}`
- Sync history with the sync server:
`atuin sync`