[Bug]: ~/.histfile format mismatch
Author: enomethCreated Jan 2, 2025Updated Sep 22, 2026
Labelstype:bug
What did you expect to happen?
export HISTFILE=~/.histfile atuin import zshshould import my histfile which has lines of the form
: 1589089706:0;cd /usr/share/dbus-1/services
: 1735759004:1;git resetWhat happened?
atuin history list shows that the whole line (including the timestamp and duration) are imported, not just the commands. Further There seems to be no direct way to remove incorrectly imported entries from the database.
Atuin doctor output
{
"atuin": {
"version": "18.4.0-beta.5",
"sync": null,
"sqlite_version": "3.46.0"
},
"shell": {
"name": "emacs",
"default": "zsh",
"plugins": [],
"preexec": null
},
"system": {
"os": "Gentoo",
"arch": "x86_64",
"version": "2.14",
"disks": [
{
"name": "rootfs",
"filesystem": "zfs"
},
]
}
}Code of Conduct
- I agree to follow this project's Code of Conduct
Source: atuinsh/atuin