Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
thekashifmalik
· 2y ago · 0 comments
Do you know any way to accomplish the same thing but keeping the history in plaintext? Would love to still be able to run SQL over it.
Comments
[–]
bdcravens
2y ago
Couldn't you just point DuckDB or a similar tool to the history file?
[–]
hakcermani
2y ago
.. i replied to the main thread, if you want give my bash script a try. each project history is in its own named file ..
https://gist.github.com/appsmatics/ff27e885460bd345eabe1c5f7...
[–]
hughesjj
2y ago
Write to two places in the hook?