Atuin — поиск и синхронизация истории терминала

★ 31.9K

Atuin is an open-source terminal tool that replaces your shell history with a SQLite database and records extra context for every command: exit code, duration, time, working directory, hostname and session. People reach for it when they need to find a command they ran last week, when they want the same history across every terminal and machine, or when they want statistics such as their most-used command. Atuin rebinds Ctrl-R and the up arrow to a full-screen search UI with filters for the current session, directory or global history, and its CLI can search, for example, only successful commands run after a given time. Sync between machines is optional and fully end-to-end encrypted: use the hosted Atuin server, run your own, or skip sync entirely. It supports zsh, bash, fish, nushell, xonsh and PowerShell, keeps your old history file, and can import existing history. It is written in Rust. Bash users need bash-preexec hooks, which come with their own limitations.