A fork of github.com/atuinsh/atuin w/ OIDC support because yes
Find a file
2021-02-13 21:21:00 +00:00
src Minor fixes 2021-02-13 20:55:06 +00:00
.gitignore Initial commit 2020-10-05 00:59:28 +01:00
atuin.plugin.zsh Rename zsh hook 2021-02-13 21:11:08 +00:00
Cargo.lock Minor fixes 2021-02-13 20:55:06 +00:00
Cargo.toml Minor fixes 2021-02-13 20:55:06 +00:00
README.md Update readme 2021-02-13 21:21:00 +00:00

A'tuin

Through the fathomless deeps of space swims the star turtle Great ATuin, bearing on its back the four giant elephants who carry on their shoulders the mass of the Discworld.

A'tuin manages and synchronizes your shell history! Instead of storing everything in a text file (such as ~/.history), A'tuin uses a sqlite database. While being a little more complex, this allows for more functionality.

As well as the expected command, A'tuin stores

  • duration
  • exit code
  • working directory
  • hostname
  • time
  • a unique session ID

Install

atuin needs a recent version of Rust + Cargo! It's best to use rustup for getting set up there.

cargo install atuin

Once the binary is installed, the shell plugin requires installing:

zplug:

zplug "ellie/atuin"

antigen:

antigen use https://github.com/ellie/atuin.git

oh-my-zsh:

git clone https://github.com/ellie/atuin ~/.oh-my-zsh/plugins/atuin

and then add atuin to your plugins list in ~/.zshrc

Usage

Import history

atuin import auto # detect shell, then import
atuin import zsh  # specify shell

List history

atuin history list

...what's with the name?

A'tuin is named after "The Great A'tuin", a giant turtle from Terry Pratchett's Discworld series of books.