atuin.sh
A shell history tool that syncs, searches and backs up shell history with end-to-end encryption, available for macOS, Linux and Windows and for shells including bash, zsh and fish. It includes Atuin AI, which is free during testing and can suggest and run commands.