✨ Magical shell history. Contribute to atuinsh/atuin development by creating an account on GitHub.
Atuin replaces your existing shell history with a SQLite database, and records additional context for your commands. Additionally, it provides optional and fully encrypted synchronisation of your history between machines, via an Atuin server.
Having automatic updates as opt-in by default would be better to avoid supply chain attacks. Also, if the original history file is still there it would be a good feature to be able to diff between the sqlite and the history file to see if commands have been deleted. Are there options to choose what encryption algo is used?
Having automatic updates as opt-in by default would be better to avoid supply chain attacks.
I guess the majority of users would prefer automatic data synchronization. The tool therefore offers the option of deactivating automatic synchronization (https://docs.atuin.sh/configuration/config/).
Also, if the original history file is still there it would be a good feature to be able to diff between the sqlite and the history file to see if commands have been deleted.
I'm giving atuin a try right now and the first thing I noticed is what you just said about the up arrow. I don't need to invoke the full atuin command history screen when I just want to quickly edit the last command. In its default state, the up arrow does the same thing as ctrl-r so it isn't particularly useful, in my opinion. The developer suggests making it more useful by setting the up arrow to invoke a "local" command search, meaning a search of commands that were used in the current directory. Alternatively, you can disable the remapping of the up arrow key and just invoke atuin using ctrl-r. I think that's what I will try next.
I had the same annoyance and ended up uninstalling it, I'll look into remapping the up arrow too, I never liked the way ctrl-r works anyway. By the way, do you know how to delete a command from history in atuin? I found a bunch of discussions in development about this and some comments saying the function was added, but never mentioning the shortcut or command to delete