4 ms·
Okay I'm curious as to why? I mean it's nice to have, but what are you going to do with the additional data later on?
by nyir 11y ago
Okay I'm curious as to why? I mean it's nice to have, but what are you going to do with the additional data later on?
- leni536 11y agoIt was mainly for an exercise to get familiar with sqlite. Maybe later very rarely I can use the session data (hunting down sessions where you only remember some irrelevant command). Getting the duration of some commands is useful like long running simulations, compilations. It's especially handy where you don't expect it to be too long and forget to time it beforehand. Having said that I didn't use it too much yet, I have my regular history in place too.
- caipre 11y agozsh has an option to automatically print the time of commands exceeding a threshold. See here for a brief example: http://nuclearsquid.com/writings/reporttime-in-zsh/ http://nuclearsquid.com/writings/reporttime-in-zsh/
- saurik 11y agoI maintain almost all my bash history and I often use it to reconstruct a sequence of events in the past when I feel like maybe a mistake had been made.