Skip to content

Glossary

bash-preexec — the library Atuin's bash integration loads to gain before-and-after hooks around each command; zsh provides the same idea natively (chapter 2).

Cwd — the current working directory of a command when it ran; recorded on every live row and stored as the cwd column (chapters 4, 9).

Dedup — atuin history dedup: the housekeeping verb that removes repeat rows sharing command, directory and host, with a --dry-run rehearsal (chapter 15).

Duration — how long a command ran, stored in nanoseconds and printed in human units (chapter 9). Imported rows have none (−1 inside, shown as 0s).

Enter_accept — the configuration key deciding whether Enter in the search window runs the chosen command at once or places it on the prompt (chapters 6, 10).

Exit code — the number a command ends with: 0 for success, anything else for some flavour of failure. Recorded live; imported rows carry −1, "not recorded" (chapter 4).

Filter mode — a scope for searches: global, host, session, session-preload, directory or workspace (chapter 7). Cycled with Ctrl-R inside the interactive search (chapter 6).

Fuzzy search — the default search mode: the query's letters must appear in the command, in order, anywhere (chapter 5).

History file — the shell's old way: ~/.bash_history and its kin, one command per line and nothing else recorded (chapter 1). The source of imports (chapter 4).

Hook — a function the shell calls just before and just after each command; Atuin's pair starts and finishes a database row (chapter 2).

Import — the one-time reading of an old history file (or another tool's database) into Atuin's, with the facts the source never had left as unknowns (chapter 4).

Key — the encryption key for sync, a small file at ~/.atuin/data/key, generated locally and never to be shared (chapters 9, 11).

Prefix / fulltext — the stricter search modes: the command must start with the query, or contain it whole (chapter 5).

Records store — records.db, the local store the current sync design exchanges with a server (chapters 2, 11).

Search mode — how a query matches: prefix, fulltext or fuzzy, set per call with --search-mode or by default in the configuration (chapters 5, 10).

Secrets filter — the built-in list of secret-shaped commands (cloud keys, tokens and their kin) that Atuin refuses to record by default (chapters 1, 10).

Session — one shell's lifetime, identified by a random ATUIN_SESSION the init script exports; stamped on every row that shell produces (chapter 2).

Deleted_at — a column in the history table used by the sync machinery's bookkeeping. It is not a recycle bin: atuin search --delete removes the row itself, as the lab verified on a copy of a database (chapter 14).

Stats — atuin stats: counts of your most-run commands, overall or per day (chapter 8).

Sync — the optional exchange of (encrypted) history with a server under an account, so several machines share one past (chapter 11).

Workspace — the filter scope that means "anywhere inside this Git repository's tree" (chapter 7).