rupa / z

z - jump around
Do What The F*ck You Want To Public License
16.32k stars 1.17k forks source link

Database is often lost after a macOS crash #243

Open josefglatz opened 6 years ago

josefglatz commented 6 years ago

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)

alphaCTzo7G commented 6 years ago

+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?

balta2ar commented 6 years ago

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

alphaCTzo7G commented 6 years ago

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