Store your zsh history into a sqlite3 database

pmoriarty | 85 points

OffTopic: I have always considered my (bash) history as a profound source of knowledge. I hope one day, some machine learning wizard will create a function extractor from history. Something like: "oh it seems you often chain those commands: .... Let me make a function for you. Here it is: ... How would you like to call it?"

lolive | 7 years ago

This looks very cool! I especially love the attention to syncing and merging, as well as the section specifically for zsh-autosuggestions. However, I really wish there were performance metrics (e.g. "zsh-autosuggestions used to take me Xms but now they only take Yms, and I have Z entries in my history")

jamescostian | 7 years ago

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.

mjmein | 7 years ago

anyone know of something like this for bash?

torbjorn | 7 years ago

why do i want to know how many times i type ls!!!!!

j/k This seems pretty cool

moocowtruck | 7 years ago