z icon indicating copy to clipboard operation
z copied to clipboard

Database is often lost after a macOS crash

Open josefglatz opened this issue 7 years ago • 3 comments

I found already some database crash related issues here. I generelly have no torubles with it.

Except when macOS crashes, my db is gone. Does anybody else have this problem? Maybe I havae something misconfigured (I have zsh and nothing special configured so far)

josefglatz avatar Jun 14 '18 07:06 josefglatz

+1.. This actually happens to me quite a lot.. Not sure why. It happens randomly even when I have no apparently crash.. but some changes in the configuration...

On ubuntu 16.04..

I have been thinking of putting my .z file into a git version control (with some kind of cron job based automated commit) to reduce the risk of losing the history.

Is there a better way?

alphaCTzo7G avatar Jul 20 '18 17:07 alphaCTzo7G

Did you try this pull request? https://github.com/rupa/z/pull/199

balta2ar avatar Jul 23 '18 20:07 balta2ar

yeah.. after posting on this thread.. I replied to your PR but haven't tried it out. Will try it out..

alphaCTzo7G avatar Jul 24 '18 00:07 alphaCTzo7G