I’m having the same issue, with a similar setup. Bazzite (so a Fedora 41 spin), bash 5.2.37, ptyxis 47.10.
I never get an error message, it’s just that the first command in a new shell never shows up in my atuin history.
My atuin doctor:
{
"atuin": {
"version": "18.4.0",
"sync": null,
"sqlite_version": "3.46.0"
},
"shell": {
"name": "bash",
"default": "bash",
"plugins": [
"atuin",
"bash-preexec"
],
"preexec": "bash-preexec"
},
"system": {
"os": "Bazzite",
"arch": "x86_64",
"version": "41",
"disks": [
{
...
}
]
}
}
I snipped the disks because I didn’t think it was really relevant, but I’m using btrfs if it matters.
I got atuin by running “ujust bazzite-cli” which installed atuin and a few other toys, possibly including bash-preexec. I mention bash-preexec because the discussion mentioned bash hooks, and bash-preexec seems to be hook-related.
I’m not sure quite where to find the source of the “bling.sh” script it runs every boot, but
the atuin-relevant part of the “bling.sh” script is:
if [ "$(basename "$SHELL")" = "bash" ]; then
#shellcheck disable=SC1091
. /usr/share/bash-prexec
[ "$(command -v atuin)" ] && eval "$(atuin init bash)"
[ "$(command -v zoxide)" ] && eval "$(zoxide init bash)"
elif [ "$(basename "$SHELL")" = "zsh" ]; then
[ "$(command -v atuin)" ] && eval "$(atuin init zsh)"
[ "$(command -v zoxide)" ] && eval "$(zoxide init zsh)"
fi
(and yes, the path is /usr/share/bash-prexec not bash-preexec, but it is the script from rcaloras/bash-preexec)
Thanks, and I hope this is useful.