Re:Store your zsh history into a sqlite3 database
by mjmein on Thursday August 17, 2017 @08:46PM
(#15042489)
I've been using this for a while. I like the fact that it stores dates/times of command executed. I plan to combine this with org-mode to quickly get a report of all shell commands executed while I was working on a specific task. Helps if I want to convert it into a guide/blog post.
[ Parent
| on HN ]
Re:Store your zsh history into a sqlite3 database
by eikenberry on Thursday August 17, 2017 @09:00PM
(#15042587)
Not that it affects you, but for others that think have date/time in their history zsh supports this with their EXTENDED_HISTORY (setopt extendedhistory) option. Formats history as...
: <beginning time>:<elapsed seconds>;<command>