You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been using https://github.com/ddworken/hishtory/ for global history capture and would like to migrate to atuin. I have been unable to find a way to import hishtory's structured history data into atuin in a way that atuin will use. Here's what I've done:
I've used clickhouse-local with the following SQL to transform the hishtory data to atuin's schema:
I then exported this to TSV, and used sqlite3 to load the history data into atuin's history.db file:
.mode tabs
.import history hishtory.tsv
I'm then able to see the entries in the sqlite table.
What happened?
I expected atuin to allow me to search these prior history entries, but it does not. Is there some mechanism to get atuin to sync all its internal data off the history.db history table and incorporate it future executions of the program?
Thanks!
Atuin doctor output
% atuin doctorAtuin DoctorChecking for diagnosticsPlease include the output below with any bug reports or issues{"atuin": {"version": "18.3.0","sync": null,"sqlite_version": "3.44.0"},"shell": {"name": "zsh","default": "zsh","plugins": ["atuin"],"preexec": "built-in"},"system": {"os": "Darwin","arch": "arm64","version": "14.5","disks": [{"name": "Macintosh HD","filesystem": "apfs"},{"name": "Macintosh HD","filesystem": "apfs"}]}}
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
history.db isn't meant to be written to externally. We have a central source (records.db) that stores history encrypted, ready to sync. If it's not added to records, it won't function properly. We have an import function that handles history from other sources, and ensures it's stored correctly.
If you're comfortable doing so, writing an importer specifically for hishtory would be amazing! I imagine it wouldn't be too hard to base off of an existing importer
What did you expect to happen?
I've been using https://github.com/ddworken/hishtory/ for global history capture and would like to migrate to atuin. I have been unable to find a way to import hishtory's structured history data into atuin in a way that atuin will use. Here's what I've done:
I've used clickhouse-local with the following SQL to transform the hishtory data to atuin's schema:
I then exported this to TSV, and used sqlite3 to load the history data into atuin's history.db file:
I'm then able to see the entries in the sqlite table.
What happened?
I expected atuin to allow me to search these prior history entries, but it does not. Is there some mechanism to get atuin to sync all its internal data off the history.db history table and incorporate it future executions of the program?
Thanks!
Atuin doctor output
Code of Conduct
The text was updated successfully, but these errors were encountered: