You are not logged in.
Hello there, I was dealing with an unrelated zsh history issue on my computer and realized a huge time gap in my .zsh_history file. The first entry was from 1598913264 (over a year ago) the second was from 1628418077 (five months ago) anything in between is lost like it never logged but I know it logged because at the time I was using my computer without a problem so it probably corrupted later. My $HISTSIZE returns 50000 but there are only 750+ entries in my .zsh_history so it's not a matter of insufficient size.
I'm assuming there is no getting them back but is there at least a way to know what caused that?
Here is my .zshrc: https://dpaste.com/GPNFEVT7X
Offline
https://unix.stackexchange.com/question … sh-history
Since OMZ (of course…) messes with this:
https://www.reddit.com/r/zsh/comments/f … istoryzsh/
And apparently there was some forth and back w/ share_history that may or not fall into the relevant time frame, https://github.com/ohmyzsh/ohmyzsh/issues/9430
It's hard (impossible) to say what ultimately has caused this, but in doubt, when things w/ zsh go wrong, it's usually OMZ…
Offline
I see thanks for looking into it.
Offline