tldr/pages/common/atuin.md

30 lines
653 B
Markdown

# 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:
`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`