Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: ~/.histfile format mismatch #2517

Open
1 task done
enometh opened this issue Jan 2, 2025 · 0 comments
Open
1 task done

[Bug]: ~/.histfile format mismatch #2517

enometh opened this issue Jan 2, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@enometh
Copy link

enometh commented Jan 2, 2025

What did you expect to happen?

export HISTFILE=~/.histfile  atuin import zsh

should import my histfile which has lines of the form

: 1589089706:0;cd /usr/share/dbus-1/services
: 1735759004:1;git reset

What 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
@enometh enometh added the bug Something isn't working label Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant